import Control.Monad (forever)
import Data.Functor ((<$>))
import System.Exit (exitSuccess)

main :: IO ()
main = forever $ do
  [a,op,b] <- words <$> getLine
  let a' = read a :: Int
      b' = read b :: Int
  case op of
    "+" -> print $ a' + b'
    "-" -> print $ a' - b'
    "*" -> print $ a' * b'
    "/" -> print $ a' `div` b'
    "?" -> exitSuccess

