#include<iostream>
using namespace std;
int main()
{
int x,y;
char r;
cin>>x>>y>>r;
if(y==0 && int(r)==int('/')){
cout<<"Divided by zero!"<<endl;
}
else{
switch(int(r)){
case int('+'):
cout<<x+y<<endl;
break;
case int('-'):
cout<<x-y<<endl;
break;
case int('*'):
cout<<x*y<<endl;
break;
case int('/'):
cout<<x/y<<endl;
break;
default:
cout<<"Invalid operator!"<<endl;
}
}
return 0;
}