

import java.util.Scanner;

public class Main {
	public static void main(String args[]) {
		Scanner scan = new Scanner(System.in);
		int a, b;
		String op, str;
		str = "";

		while (true) {
			a = scan.nextInt();
			op = scan.next();
			// op?????????\??£?????´??????????????????????????????
			if (op.equals("?")) {
				break;
			}
			b = scan.nextInt();

			if (op.equals("-")) {
				str = str + Integer.toString(a - b) + "\n";
			}
			if (op.equals("+")) {
				str = str + Integer.toString(a + b) + "\n";
			}
			if (op.equals("*")) {
				str = str + Integer.toString(a * b) + "\n";
			}
			if (op.equals("/")) {
				str = str + Integer.toString(a / b) + "\n";
			}
		}
		
		System.out.print(str);
		
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String args[]) {
		Scanner scan = new Scanner(System.in);
		int a, b;
		String op, str;
		str = "";

		while (true) {
			a = scan.nextInt();
			op = scan.next();
			// op?????????\??£?????´??????????????????????????????
			if (op.equals("?")) {
				break;
			}
			b = scan.nextInt();

			if (op.equals("-")) {
				str = str + Integer.toString(a - b) + "\n";
			}
			if (op.equals("+")) {
				str = str + Integer.toString(a + b) + "\n";
			}
			if (op.equals("*")) {
				str = str + Integer.toString(a * b) + "\n";
			}
			if (op.equals("/")) {
				str = str + Integer.toString(a / b) + "\n";
			}
		}
		
		System.out.print(str);
		
	}
} Main public static void main(String args[]) {
		Scanner scan = new Scanner(System.in);
		int a, b;
		String op, str;
		str = "";

		while (true) {
			a = scan.nextInt();
			op = scan.next();
			// op?????????\??£?????´??????????????????????????????
			if (op.equals("?")) {
				break;
			}
			b = scan.nextInt();

			if (op.equals("-")) {
				str = str + Integer.toString(a - b) + "\n";
			}
			if (op.equals("+")) {
				str = str + Integer.toString(a + b) + "\n";
			}
			if (op.equals("*")) {
				str = str + Integer.toString(a * b) + "\n";
			}
			if (op.equals("/")) {
				str = str + Integer.toString(a / b) + "\n";
			}
		}
		
		System.out.print(str);
		
	} main {
		Scanner scan = new Scanner(System.in);
		int a, b;
		String op, str;
		str = "";

		while (true) {
			a = scan.nextInt();
			op = scan.next();
			// op?????????\??£?????´??????????????????????????????
			if (op.equals("?")) {
				break;
			}
			b = scan.nextInt();

			if (op.equals("-")) {
				str = str + Integer.toString(a - b) + "\n";
			}
			if (op.equals("+")) {
				str = str + Integer.toString(a + b) + "\n";
			}
			if (op.equals("*")) {
				str = str + Integer.toString(a * b) + "\n";
			}
			if (op.equals("/")) {
				str = str + Integer.toString(a / b) + "\n";
			}
		}
		
		System.out.print(str);
		
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int a a b; b String op op str; str str = "" str "" while (true) {
			a = scan.nextInt();
			op = scan.next();
			// op?????????\??£?????´??????????????????????????????
			if (op.equals("?")) {
				break;
			}
			b = scan.nextInt();

			if (op.equals("-")) {
				str = str + Integer.toString(a - b) + "\n";
			}
			if (op.equals("+")) {
				str = str + Integer.toString(a + b) + "\n";
			}
			if (op.equals("*")) {
				str = str + Integer.toString(a * b) + "\n";
			}
			if (op.equals("/")) {
				str = str + Integer.toString(a / b) + "\n";
			}
		} true {
			a = scan.nextInt();
			op = scan.next();
			// op?????????\??£?????´??????????????????????????????
			if (op.equals("?")) {
				break;
			}
			b = scan.nextInt();

			if (op.equals("-")) {
				str = str + Integer.toString(a - b) + "\n";
			}
			if (op.equals("+")) {
				str = str + Integer.toString(a + b) + "\n";
			}
			if (op.equals("*")) {
				str = str + Integer.toString(a * b) + "\n";
			}
			if (op.equals("/")) {
				str = str + Integer.toString(a / b) + "\n";
			}
		} a = scan.nextInt() a scan.nextInt() scan.nextInt scan op = scan.next() op scan.next() scan.next scan if (op.equals("?")) {
				break;
			} op.equals("?") op.equals op "?" {
				break;
			} break; b = scan.nextInt() b scan.nextInt() scan.nextInt scan if (op.equals("-")) {
				str = str + Integer.toString(a - b) + "\n";
			} op.equals("-") op.equals op "-" {
				str = str + Integer.toString(a - b) + "\n";
			} str = str + Integer.toString(a - b) + "\n" str str + Integer.toString(a - b) + "\n" str + Integer.toString(a - b) + "\n" str Integer.toString(a - b) Integer.toString Integer a - b a b "\n" if (op.equals("+")) {
				str = str + Integer.toString(a + b) + "\n";
			} op.equals("+") op.equals op "+" {
				str = str + Integer.toString(a + b) + "\n";
			} str = str + Integer.toString(a + b) + "\n" str str + Integer.toString(a + b) + "\n" str + Integer.toString(a + b) + "\n" str Integer.toString(a + b) Integer.toString Integer a + b a b "\n" if (op.equals("*")) {
				str = str + Integer.toString(a * b) + "\n";
			} op.equals("*") op.equals op "*" {
				str = str + Integer.toString(a * b) + "\n";
			} str = str + Integer.toString(a * b) + "\n" str str + Integer.toString(a * b) + "\n" str + Integer.toString(a * b) + "\n" str Integer.toString(a * b) Integer.toString Integer a * b a b "\n" if (op.equals("/")) {
				str = str + Integer.toString(a / b) + "\n";
			} op.equals("/") op.equals op "/" {
				str = str + Integer.toString(a / b) + "\n";
			} str = str + Integer.toString(a / b) + "\n" str str + Integer.toString(a / b) + "\n" str + Integer.toString(a / b) + "\n" str Integer.toString(a / b) Integer.toString Integer a / b a b "\n" System.out.print(str) System.out.print System.out System System.out str String args[] args public class Main {
	public static void main(String args[]) {
		Scanner scan = new Scanner(System.in);
		int a, b;
		String op, str;
		str = "";

		while (true) {
			a = scan.nextInt();
			op = scan.next();
			// op?????????\??£?????´??????????????????????????????
			if (op.equals("?")) {
				break;
			}
			b = scan.nextInt();

			if (op.equals("-")) {
				str = str + Integer.toString(a - b) + "\n";
			}
			if (op.equals("+")) {
				str = str + Integer.toString(a + b) + "\n";
			}
			if (op.equals("*")) {
				str = str + Integer.toString(a * b) + "\n";
			}
			if (op.equals("/")) {
				str = str + Integer.toString(a / b) + "\n";
			}
		}
		
		System.out.print(str);
		
	}
} public class Main {
	public static void main(String args[]) {
		Scanner scan = new Scanner(System.in);
		int a, b;
		String op, str;
		str = "";

		while (true) {
			a = scan.nextInt();
			op = scan.next();
			// op?????????\??£?????´??????????????????????????????
			if (op.equals("?")) {
				break;
			}
			b = scan.nextInt();

			if (op.equals("-")) {
				str = str + Integer.toString(a - b) + "\n";
			}
			if (op.equals("+")) {
				str = str + Integer.toString(a + b) + "\n";
			}
			if (op.equals("*")) {
				str = str + Integer.toString(a * b) + "\n";
			}
			if (op.equals("/")) {
				str = str + Integer.toString(a / b) + "\n";
			}
		}
		
		System.out.print(str);
		
	}
} Main


import java.util.Scanner;

public class Main {
	public static void main(String args[]) {
		Scanner scan = new Scanner(System.in);
		int a, b;
		String op, str;
		str = "";

		while (true) {
			a = scan.nextInt();
			op = scan.next();
			// op?????????\??£?????´??????????????????????????????
			if (op.equals("?")) {
				break;
			}
			b = scan.nextInt();

			if (op.equals("-")) {
				str = str + Integer.toString(a - b) + "\n";
			}
			if (op.equals("+")) {
				str = str + Integer.toString(a + b) + "\n";
			}
			if (op.equals("*")) {
				str = str + Integer.toString(a * b) + "\n";
			}
			if (op.equals("/")) {
				str = str + Integer.toString(a / b) + "\n";
			}
		}
		
		System.out.print(str);
		
	}
}