#include<bits/stdc++.h>
using namespace std;
int main()
{
long long a,b,c;
cin>>a>>b>>c;
if(c=='+')
cout<<a+b;
else
if(c=='-')
cout<<a-b;
else
if(c=='*')
cout<<a*b;
else
if(c=='/')
cout<<a/b;
if(b==0&&c=='/')
{
cout<<"Divided by zero!";
return 0;
}
if(c!='+'&&c!='/'&&c!='*'&&c!='-')
{
cout<<"Invalid operator";
return 0;
}
return 0;
}