老六
#define int long long
#define endl '\n'
using namespace std;
int a[10000];
string s1,s2,s3,s4;
signed main(){
int x,y;
char f;
cin>>x>>y>>f;
switch(f){
case'+':
cout<<x+y;
break;
case'-':
cout<<x-y;
break;
case'*':
cout<<x*y;
break;
case'/':
if(y==0){
cout<<"Divided by zero!";
}
else{
cout<<x/y;
}
break;
default :
cout<<"Invalid operator!";
}
return 0;
}