
func (a:op:b:[]) =
  if op == "+" then
    a'+b'
  else
    a'-b'
    where
      a' = (read::String->Int) a
      b' = (read::String->Int) b
    

main = do
  print =<< return . func . words =<< getLine
