#include <iostream>
using namespace std;
int A,B;
char k;
int main()
{
cin >> A >> B >> k;
if(k=='+') cout << A+B;
else if(k=='*') cout << A*B;
else if(k=='-')
{
if(A>B) cout << A-B;
else cout << B-A;
}
else if(k=='/')
{
if(A>B) cout << A/B;
else cout << B/A;
}
return 0;
}