#include<bits/stdc++.h>
using namespace std;
int main(void){
	int a,b;
	string ch;
	while(1){
		cin>>a>>ch>>b;
		if(ch=="?")		break;
		else if(ch=="+")	cout<<a+b<<endl;
		else if(ch=="-")	cout<<a-b<<endl;
		else if(ch=="*")	cout<<a*b<<endl;
		else	cout<<a/b<<endl;
		
	}
	return 0;
}
