import scala.io.StdIn

object Main extends App {

  val r = StdIn.readLine().split(" ") match {
    case Array(a: String, "+", b: String) => a.toInt + b.toInt
    case Array(a: String, "-", b: String) => a.toInt - b.toInt
    case _ => throw new IllegalArgumentException
  }
  
  println(r)
  
}
