module Main where import Control.Monad main :: IO () main = do bs <- fmap read . words <$> getLine :: IO [Int] print $ 55 - (sum bs)