import Control.Applicative
import Numeric

main = do
    ss <- words <$>getLine
    let a = read $ ss!!0
    let b = read $ ss!!2
    let op = ss!!1
    let o = case op of
              "+" -> show(a+b)
              "-" -> show(a-b)
              "*" -> show(a*b)
              "/" -> show(a`div`b)

    if op /= "?" then do
        _ <- putStrLn $ o
        main
    else return()