#include<iostream>
using namespace std;

int main(){
	while(1){
		int a, b, c;
		char op;
		cin >> a >> op >> b;
		if(op == '?') break;
		if(op == '+') c = a + b;
		if(op == '-') c = a - b;
		if(op == '*') c = a * b;
		if(op == '/') c = a / b;
		cout << c << endl;
	}
	return 0;
}