#include
using namespace std;
int main(){
char c;
int a,b;
cin>>c;
cin>>a>>b;
while(c!=βXβ || c!=βxβ){
if(c==β+β){
cout<<a+b<<endl;
}
else if(c==β-β){
cout<<a-b<<endl;
}
else if(c==ββ){
cout<<ab<<endl;
}
else if(c==β/β){
cout<<a/b<<endl;
}
else{
cout<<βInvalid operation. Try again.β;
}
cin>>c;
if(c==βxβ || c==βXβ){
break;
}
cin>>a>>b;
}
return 0;
}