import java.math.BigInteger;
import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner in = new Scanner(System.in);
while(in.hasNext()){
BigInteger a = new BigInteger(in.next());
char o = in.next().charAt(0);
BigInteger b = new BigInteger(in.next());
switch(o){
case '+':
System.out.println(a.add(b));
break;
case '-':
System.out.println(a.subtract(b));
break;
case '*':
System.out.println(a.multiply(b));
break;
case '/':
System.out.println(a.divide(b));
break;
case '%':
System.out.println(a.mod(b));
}
}
}
}