#include
using namespace std;
int main(){
char ch;
int n1,n2;
cin >> ch ;
switch(ch){
case '*':
cout << n1 * n2 << endl;
case '/':
cout << n1/n2 << endl;
case '+':
cout << n1+n2 << endl;
default :
cout << "Invalid operation. Try again.";
case 'x':
case 'X':
exit;
}
return 0;
}