{-# LANGUAGE ScopedTypeVariables #-}

import qualified Data.List as List
import qualified Data.Set as Set

main :: IO ()
main = do
    [a, op, b] <- words <$> getContents
    print $ (if op == "+" then (+) else (-)) (read a :: Int) (read b)