import java.io.*;
import java.util.regex.*;

public class Main {

	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] str;
		String op;
		int a, b, result = 0;
		
		LOOP : do {	
			str = br.readLine().split("\\s+");
			if (str.length == 3 && chkStrToInt(str[0]) && chkStrToInt(str[2])) {

				a	= Integer.parseInt(str[0]);
				b	= Integer.parseInt(str[2]);
				op	= str[1];
				
				switch (op) {
				case "+":	result = a + b; break;
				case "-":	result = a - b; break;
				case "*":	result = a * b; break;
				case "/":	result = a / b; break;
				case "?":	break LOOP;
				default :	continue LOOP;
				}
				System.out.println(result);
			}
		} while (true);
	}
	
	public static boolean chkStrToInt(String str) {
		Pattern p = Pattern.compile("^[0-9]+$");
		Matcher m = p.matcher(str);
		
		return m.find();
	}
}
/tmp/hf-datasets-cache/medium/datasets/42704881117311-config-parquet-and-info-qiankunmu-Project_CodeNet-896c9d36/hub/datasets--qiankunmu--Project_CodeNet_Python800_and_Java250/snapshots/c899fde44a77ba1cc14973ed3de064e4ff3aadc7/Project_CodeNet_Java250.tar.gz