import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a = 0;
		int b = 0;
		String op = null;
		boolean con = true;
		while (con) {

			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();
			if (op.equals("+")) {
				System.out.println(a + b);

			} else if (op.equals("-")) {
				System.out.println(a - b);

			} else if (op.equals("*")) {
				System.out.println(a * b);

			} else if (op.equals("/")) {
				System.out.println(a / b);

			} else if (op.equals("?")) {
				sc.close();
				con = false;
			}
		}
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a = 0;
		int b = 0;
		String op = null;
		boolean con = true;
		while (con) {

			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();
			if (op.equals("+")) {
				System.out.println(a + b);

			} else if (op.equals("-")) {
				System.out.println(a - b);

			} else if (op.equals("*")) {
				System.out.println(a * b);

			} else if (op.equals("/")) {
				System.out.println(a / b);

			} else if (op.equals("?")) {
				sc.close();
				con = false;
			}
		}
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a = 0;
		int b = 0;
		String op = null;
		boolean con = true;
		while (con) {

			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();
			if (op.equals("+")) {
				System.out.println(a + b);

			} else if (op.equals("-")) {
				System.out.println(a - b);

			} else if (op.equals("*")) {
				System.out.println(a * b);

			} else if (op.equals("/")) {
				System.out.println(a / b);

			} else if (op.equals("?")) {
				sc.close();
				con = false;
			}
		}
	} main {
		Scanner sc = new Scanner(System.in);
		int a = 0;
		int b = 0;
		String op = null;
		boolean con = true;
		while (con) {

			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();
			if (op.equals("+")) {
				System.out.println(a + b);

			} else if (op.equals("-")) {
				System.out.println(a - b);

			} else if (op.equals("*")) {
				System.out.println(a * b);

			} else if (op.equals("/")) {
				System.out.println(a / b);

			} else if (op.equals("?")) {
				sc.close();
				con = false;
			}
		}
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int a = 0; a 0 int b = 0; b 0 String op = null; op null boolean con = true; con true while (con) {

			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();
			if (op.equals("+")) {
				System.out.println(a + b);

			} else if (op.equals("-")) {
				System.out.println(a - b);

			} else if (op.equals("*")) {
				System.out.println(a * b);

			} else if (op.equals("/")) {
				System.out.println(a / b);

			} else if (op.equals("?")) {
				sc.close();
				con = false;
			}
		} con {

			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();
			if (op.equals("+")) {
				System.out.println(a + b);

			} else if (op.equals("-")) {
				System.out.println(a - b);

			} else if (op.equals("*")) {
				System.out.println(a * b);

			} else if (op.equals("/")) {
				System.out.println(a / b);

			} else if (op.equals("?")) {
				sc.close();
				con = false;
			}
		} a = sc.nextInt() a sc.nextInt() sc.nextInt sc op = sc.next() op sc.next() sc.next sc b = sc.nextInt() b sc.nextInt() sc.nextInt sc if (op.equals("+")) {
				System.out.println(a + b);

			} else if (op.equals("-")) {
				System.out.println(a - b);

			} else if (op.equals("*")) {
				System.out.println(a * b);

			} else if (op.equals("/")) {
				System.out.println(a / b);

			} else if (op.equals("?")) {
				sc.close();
				con = false;
			} op.equals("+") op.equals op "+" {
				System.out.println(a + b);

			} System.out.println(a + b) System.out.println System.out System System.out a + b a b if (op.equals("-")) {
				System.out.println(a - b);

			} else if (op.equals("*")) {
				System.out.println(a * b);

			} else if (op.equals("/")) {
				System.out.println(a / b);

			} else if (op.equals("?")) {
				sc.close();
				con = false;
			} op.equals("-") op.equals op "-" {
				System.out.println(a - b);

			} System.out.println(a - b) System.out.println System.out System System.out a - b a b if (op.equals("*")) {
				System.out.println(a * b);

			} else if (op.equals("/")) {
				System.out.println(a / b);

			} else if (op.equals("?")) {
				sc.close();
				con = false;
			} op.equals("*") op.equals op "*" {
				System.out.println(a * b);

			} System.out.println(a * b) System.out.println System.out System System.out a * b a b if (op.equals("/")) {
				System.out.println(a / b);

			} else if (op.equals("?")) {
				sc.close();
				con = false;
			} op.equals("/") op.equals op "/" {
				System.out.println(a / b);

			} System.out.println(a / b) System.out.println System.out System System.out a / b a b if (op.equals("?")) {
				sc.close();
				con = false;
			} op.equals("?") op.equals op "?" {
				sc.close();
				con = false;
			} sc.close() sc.close sc con = false con false String[] args args public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a = 0;
		int b = 0;
		String op = null;
		boolean con = true;
		while (con) {

			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();
			if (op.equals("+")) {
				System.out.println(a + b);

			} else if (op.equals("-")) {
				System.out.println(a - b);

			} else if (op.equals("*")) {
				System.out.println(a * b);

			} else if (op.equals("/")) {
				System.out.println(a / b);

			} else if (op.equals("?")) {
				sc.close();
				con = false;
			}
		}
	}
} public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a = 0;
		int b = 0;
		String op = null;
		boolean con = true;
		while (con) {

			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();
			if (op.equals("+")) {
				System.out.println(a + b);

			} else if (op.equals("-")) {
				System.out.println(a - b);

			} else if (op.equals("*")) {
				System.out.println(a * b);

			} else if (op.equals("/")) {
				System.out.println(a / b);

			} else if (op.equals("?")) {
				sc.close();
				con = false;
			}
		}
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a = 0;
		int b = 0;
		String op = null;
		boolean con = true;
		while (con) {

			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();
			if (op.equals("+")) {
				System.out.println(a + b);

			} else if (op.equals("-")) {
				System.out.println(a - b);

			} else if (op.equals("*")) {
				System.out.println(a * b);

			} else if (op.equals("/")) {
				System.out.println(a / b);

			} else if (op.equals("?")) {
				sc.close();
				con = false;
			}
		}
	}
}