#include <bits/stdc++.h>
using namespace std;

signed main() {
	int a, b;
	char op;

	while (cin >> a >> op >> b and op != '?') {
		if (op == '+') cout << a + b;
		if (op == '-') cout << a - b;
		if (op == '*') cout << a * b;
		if (op == '/') cout << a / b;
		cout << endl;
	}
}

