#include
using namespace std;
int main() {
int N1,N2;
char ch;
int op;
cin>>ch;
do{
if(ch==β+β)
{
cin>>N1;
cin>>N2;
op=N1+N2;
cout<<op<<endl;
}
else if(ch==β-β)
{
cin>>N1;
cin>>N2;
op=N1-N2;
cout<<op<<endl;
}
else if(ch==ββ)
{
cin>>N1;
cin>>N2;
op=N1N2;
cout<<op<<endl;
}
else if( ch==β/β)
{
cin>>N1;
cin>>N2;
op=N1/N2;
cout<<op<<endl;
}
else if( ch==β%β)
{
cin>>N1;
cin>>N2;
op=N1%N2;
cout<<op<<endl;
}
else if(ch==βXβ || ch==βxβ)
{
break;
}
else{
cout<<βInvalid operation. Try again.β<<endl;
cin>>ch;
}
} while(ch!='\0');
return 0;
}
