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();
	}
} import java.io.*; io.* java import java.util.regex.*; regex.* java.util 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();
	}
} 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);
	} main {
		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);
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String[] str; str String op; op int a a b b result = 0; result 0 String[] args args public static boolean chkStrToInt(String str) {
		Pattern p = Pattern.compile("^[0-9]+$");
		Matcher m = p.matcher(str);
		
		return m.find();
	} chkStrToInt {
		Pattern p = Pattern.compile("^[0-9]+$");
		Matcher m = p.matcher(str);
		
		return m.find();
	} Pattern p = Pattern.compile("^[0-9]+$"); p Pattern.compile("^[0-9]+$") Pattern.compile Pattern "^[0-9]+$" Matcher m = p.matcher(str); m p.matcher(str) p.matcher p str return m.find(); m.find() m.find m String str str 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();
	}
} 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();
	}
} Main
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();
	}
}