#include <iostream>
using namespace std;
int main()
{
int a, b;
char c;
cin >> a >> b >> c;
if (int(c) == 43)
cout << a + b;
else if (int(c) == 45)
cout << a - b;
else if (int(c) == 42)
cout << a * b;
else if (int(c) == 47 && b != 0)
cout << a / b;
else if (int(c) == 47 && b == 0)
cout << "Divided by zero!";
else
cout << "Invalid operator!";
return 0;
}