main = getLine >>= print . (\[d,p] -> d + div (d*p) 100) . map read . words