-- yukicoder My Practice -- author: Leonardone @ NEETSDKASU main = print . solve . map read . words . drop 2 =<< getLine solve [v, t] = v * t `div` 10000