#include<bits/stdc++.h>
using namespace std;

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

