#include<cstdio>
int main(){
	int a,b,y;
	char op;

	while(1){
		scanf("%d %c %d",&a,&op,&b);

		if(op == '?') break;

		if(op == '+'){
			y = a+b;
		}else

		if(op == '-'){
			y = a-b;
		}else

		if(op == '*'){
			y = a*b;
		}else

		if(op == '/'){
			y = a/b;
		}

		printf("%d\n",y);

	}

	return 0;

}