import java.math.BigInteger;
import java.util.Scanner;
public class BigCalc {
/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner sc=new Scanner(System.in);
while(sc.hasNext()){
String splitString=sc.nextLine();
String[] out = splitString.split(" ");
BigInteger a = new BigInteger(out[0]);
BigInteger b = new BigInteger(out[2]);
if (out[1].equals("+"))
System.out.println(a.add(b));
if (out[1].equals("-"))
System.out.println(a.subtract(b));
if (out[1].equals("*"))
System.out.println(a.multiply(b));
if (out[1].equals("/"))
System.out.println(a.divide(b));
}
}
}