import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);

		int a,b;
		String op = "+";
		while (!op.equals("?")) {
		a = scan.nextInt();
		op = scan.next();
		b = scan.nextInt();

		if (0 <= a && a <= 20000 && 0 <= b && b <= 20000) {

				if (op.equals("/") && b == 0) {
					break;
				}
				switch (op) {
				case "+":
					System.out.println(a + b);
					break;

				case "-":
					System.out.println(a - b);
					break;
				case "*":
					System.out.println(a * b);
					break;

				case "/":
					System.out.println(a / b);
					break;
				}
			}
		}

	}

} 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 = "+";
		while (!op.equals("?")) {
		a = scan.nextInt();
		op = scan.next();
		b = scan.nextInt();

		if (0 <= a && a <= 20000 && 0 <= b && b <= 20000) {

				if (op.equals("/") && b == 0) {
					break;
				}
				switch (op) {
				case "+":
					System.out.println(a + b);
					break;

				case "-":
					System.out.println(a - b);
					break;
				case "*":
					System.out.println(a * b);
					break;

				case "/":
					System.out.println(a / b);
					break;
				}
			}
		}

	}

} Main public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);

		int a,b;
		String op = "+";
		while (!op.equals("?")) {
		a = scan.nextInt();
		op = scan.next();
		b = scan.nextInt();

		if (0 <= a && a <= 20000 && 0 <= b && b <= 20000) {

				if (op.equals("/") && b == 0) {
					break;
				}
				switch (op) {
				case "+":
					System.out.println(a + b);
					break;

				case "-":
					System.out.println(a - b);
					break;
				case "*":
					System.out.println(a * b);
					break;

				case "/":
					System.out.println(a / b);
					break;
				}
			}
		}

	} main {
		Scanner scan = new Scanner(System.in);

		int a,b;
		String op = "+";
		while (!op.equals("?")) {
		a = scan.nextInt();
		op = scan.next();
		b = scan.nextInt();

		if (0 <= a && a <= 20000 && 0 <= b && b <= 20000) {

				if (op.equals("/") && b == 0) {
					break;
				}
				switch (op) {
				case "+":
					System.out.println(a + b);
					break;

				case "-":
					System.out.println(a - b);
					break;
				case "*":
					System.out.println(a * b);
					break;

				case "/":
					System.out.println(a / b);
					break;
				}
			}
		}

	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int a a b; b String op = "+"; op "+" while (!op.equals("?")) {
		a = scan.nextInt();
		op = scan.next();
		b = scan.nextInt();

		if (0 <= a && a <= 20000 && 0 <= b && b <= 20000) {

				if (op.equals("/") && b == 0) {
					break;
				}
				switch (op) {
				case "+":
					System.out.println(a + b);
					break;

				case "-":
					System.out.println(a - b);
					break;
				case "*":
					System.out.println(a * b);
					break;

				case "/":
					System.out.println(a / b);
					break;
				}
			}
		} !op.equals("?") op.equals("?") op.equals op "?" {
		a = scan.nextInt();
		op = scan.next();
		b = scan.nextInt();

		if (0 <= a && a <= 20000 && 0 <= b && b <= 20000) {

				if (op.equals("/") && b == 0) {
					break;
				}
				switch (op) {
				case "+":
					System.out.println(a + b);
					break;

				case "-":
					System.out.println(a - b);
					break;
				case "*":
					System.out.println(a * b);
					break;

				case "/":
					System.out.println(a / b);
					break;
				}
			}
		} a = scan.nextInt() a scan.nextInt() scan.nextInt scan op = scan.next() op scan.next() scan.next scan b = scan.nextInt() b scan.nextInt() scan.nextInt scan if (0 <= a && a <= 20000 && 0 <= b && b <= 20000) {

				if (op.equals("/") && b == 0) {
					break;
				}
				switch (op) {
				case "+":
					System.out.println(a + b);
					break;

				case "-":
					System.out.println(a - b);
					break;
				case "*":
					System.out.println(a * b);
					break;

				case "/":
					System.out.println(a / b);
					break;
				}
			} 0 <= a && a <= 20000 && 0 <= b && b <= 20000 0 <= b 0 <= a && a <= 20000 && 0 <= b && b <= 20000 0 <= a 0 a a <= 20000 a 20000 0 <= b 0 b b <= 20000 b 20000 {

				if (op.equals("/") && b == 0) {
					break;
				}
				switch (op) {
				case "+":
					System.out.println(a + b);
					break;

				case "-":
					System.out.println(a - b);
					break;
				case "*":
					System.out.println(a * b);
					break;

				case "/":
					System.out.println(a / b);
					break;
				}
			} if (op.equals("/") && b == 0) {
					break;
				} op.equals("/") && b == 0 op.equals("/") op.equals op "/" b == 0 b 0 {
					break;
				} break; switch (op) {
				case "+":
					System.out.println(a + b);
					break;

				case "-":
					System.out.println(a - b);
					break;
				case "*":
					System.out.println(a * b);
					break;

				case "/":
					System.out.println(a / b);
					break;
				} op case "+": "+" case "+": System.out.println(a + b) System.out.println System.out System System.out a + b a b break; case "-": "-" case "-": System.out.println(a - b) System.out.println System.out System System.out a - b a b break; case "*": "*" case "*": System.out.println(a * b) System.out.println System.out System System.out a * b a b break; case "/": "/" case "/": System.out.println(a / b) System.out.println System.out System System.out a / b a b break; String[] args args public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);

		int a,b;
		String op = "+";
		while (!op.equals("?")) {
		a = scan.nextInt();
		op = scan.next();
		b = scan.nextInt();

		if (0 <= a && a <= 20000 && 0 <= b && b <= 20000) {

				if (op.equals("/") && b == 0) {
					break;
				}
				switch (op) {
				case "+":
					System.out.println(a + b);
					break;

				case "-":
					System.out.println(a - b);
					break;
				case "*":
					System.out.println(a * b);
					break;

				case "/":
					System.out.println(a / b);
					break;
				}
			}
		}

	}

} public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);

		int a,b;
		String op = "+";
		while (!op.equals("?")) {
		a = scan.nextInt();
		op = scan.next();
		b = scan.nextInt();

		if (0 <= a && a <= 20000 && 0 <= b && b <= 20000) {

				if (op.equals("/") && b == 0) {
					break;
				}
				switch (op) {
				case "+":
					System.out.println(a + b);
					break;

				case "-":
					System.out.println(a - b);
					break;
				case "*":
					System.out.println(a * b);
					break;

				case "/":
					System.out.println(a / b);
					break;
				}
			}
		}

	}

} 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 = "+";
		while (!op.equals("?")) {
		a = scan.nextInt();
		op = scan.next();
		b = scan.nextInt();

		if (0 <= a && a <= 20000 && 0 <= b && b <= 20000) {

				if (op.equals("/") && b == 0) {
					break;
				}
				switch (op) {
				case "+":
					System.out.println(a + b);
					break;

				case "-":
					System.out.println(a - b);
					break;
				case "*":
					System.out.println(a * b);
					break;

				case "/":
					System.out.println(a / b);
					break;
				}
			}
		}

	}

}