main = getLine >>= print . (\x -> round(x*10000)`div`10000) . product . map (read::String->Double) . words