import Control.Applicative

main :: IO ()
main = do
    s <- words <$> getLine
    putStrLn $ show (solve s)

solve :: [String] -> Int 
solve s = if s !! 1 == "+"
          then read (s !! 0) + read (s !! 2) 
          else read (s !! 0) - read (s !! 2)