#include <bits/stdc++.h>

using namespace std;

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