fun main(args: Array<String>) {
    val c = readLine()!!.split(" ")

    val numA = c[0].toLong()
    val op = c[1]
    val numB = c[2].toLong()

    var result = if(op == "+") numA + numB else numA - numB


    println(result)

}