import           Data.Functor

calc :: String -> Int -> Int -> Int
calc "+" a b = a + b
calc "-" a b = a - b

main :: IO ()
main = getLine <&> words >>= \[a, op, b] -> print $ calc op (read a) (read b)
