import Control.Monad main = getLine >>= print . questionnaire . map read . words round' x | (ceiling (2*x) == floor (2*x)) && even (floor x) = round (x+0.1) | otherwise = round x questionnaire [a,b] = minimum $ do x <- map fromIntegral [0..200] y <- map fromIntegral [0..200] guard (round' ((x*100)/(x+y)) == a && round' ((y*100)/(x+y)) == b) return (floor (x+y))