import Text.Printf

op s =
  case s of
    "+" -> (+)
    "-" -> (-)
    "/" -> div
    "*" -> (*)

main = do
  s <- getLine
  let [x,b,y] = words $ s
  let a = read x :: Int
  let c = read y :: Int
  if b == "?" then return ()
  else do
    putStrLn $ show $ (op b) a c
    main