import Control.Applicative
main = solve

solve = do
    n <- words <$> getLine
    let a = read $ n !! 0 :: Int
        op = n !! 1
        b = read $ n !! 2 :: Int
    printResult a op b

printResult :: Int -> String -> Int -> IO ()
printResult a op b
    | op == "+" = (printA $ a + b) >> solve
    | op == "-" = (printA $ a - b) >> solve
    | op == "*" = (printA $ a * b) >> solve
    | op == "/" = (printA $ a `div` b) >> solve
    | op == "?" = return ()

printA x = putStrLn $ show x