import java.util.Scanner;


public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		for (int i = 0; i < 10000; i++) {
			int a = scan.nextInt();
			String op = scan.next();
			int b = scan.nextInt();
			if (op.equals("?")) {
				break;
			} 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("/")) {
				System.out.println(a / b);
			}
		}
	}

} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		for (int i = 0; i < 10000; i++) {
			int a = scan.nextInt();
			String op = scan.next();
			int b = scan.nextInt();
			if (op.equals("?")) {
				break;
			} 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("/")) {
				System.out.println(a / b);
			}
		}
	}

} Main public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		for (int i = 0; i < 10000; i++) {
			int a = scan.nextInt();
			String op = scan.next();
			int b = scan.nextInt();
			if (op.equals("?")) {
				break;
			} 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("/")) {
				System.out.println(a / b);
			}
		}
	} main {
		Scanner scan = new Scanner(System.in);
		for (int i = 0; i < 10000; i++) {
			int a = scan.nextInt();
			String op = scan.next();
			int b = scan.nextInt();
			if (op.equals("?")) {
				break;
			} 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("/")) {
				System.out.println(a / b);
			}
		}
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) for (int i = 0; i < 10000; i++) {
			int a = scan.nextInt();
			String op = scan.next();
			int b = scan.nextInt();
			if (op.equals("?")) {
				break;
			} 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("/")) {
				System.out.println(a / b);
			}
		} int i = 0; int i = 0; i 0 i < 10000 i 10000 i++ i++ i {
			int a = scan.nextInt();
			String op = scan.next();
			int b = scan.nextInt();
			if (op.equals("?")) {
				break;
			} 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("/")) {
				System.out.println(a / b);
			}
		} {
			int a = scan.nextInt();
			String op = scan.next();
			int b = scan.nextInt();
			if (op.equals("?")) {
				break;
			} 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("/")) {
				System.out.println(a / b);
			}
		} int a = scan.nextInt(); a scan.nextInt() scan.nextInt scan String op = scan.next(); op scan.next() scan.next scan int b = scan.nextInt(); b scan.nextInt() scan.nextInt scan if (op.equals("?")) {
				break;
			} 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("/")) {
				System.out.println(a / b);
			} op.equals("?") op.equals op "?" {
				break;
			} break; 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);
			} 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);
			} 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);
			} 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);
			} 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 String[] args args public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		for (int i = 0; i < 10000; i++) {
			int a = scan.nextInt();
			String op = scan.next();
			int b = scan.nextInt();
			if (op.equals("?")) {
				break;
			} 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("/")) {
				System.out.println(a / b);
			}
		}
	}

} public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		for (int i = 0; i < 10000; i++) {
			int a = scan.nextInt();
			String op = scan.next();
			int b = scan.nextInt();
			if (op.equals("?")) {
				break;
			} 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("/")) {
				System.out.println(a / b);
			}
		}
	}

} Main
import java.util.Scanner;


public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		for (int i = 0; i < 10000; i++) {
			int a = scan.nextInt();
			String op = scan.next();
			int b = scan.nextInt();
			if (op.equals("?")) {
				break;
			} 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("/")) {
				System.out.println(a / b);
			}
		}
	}

}