"use strict"
let input = require('fs').readFileSync('/dev/stdin','utf8');
let arr = input.split('\n')
for (let i in arr) {
	let list = arr[i].split(' ');
	let a = parseInt(list[0]);
	let b = parseInt(list[2]);
	let op = list[1];
	let ans = null;
	if (op === '+') ans = a + b;
	if (op === '-') ans = a - b;
	if (op === '*') ans = a * b;
	if (op === '/') ans = Math.floor(a / b);
	if (op === '?') break;
	console.log(ans);
}
