import Data.Ratio main = do [v,t] <- map (flip approxRational 10e-9 . read) . words <$> getLine print (truncate (v*t))