import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		try (Scanner sc = new Scanner(System.in)) {
			int a, b;
			String op;
			while (true) {
				a = sc.nextInt();
				op = sc.next();
				b = sc.nextInt();
				if (op.equals("?")) {
					break;
				}
				System.out.println(calc(a, op, b));
			}
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

	private static int calc(int a, String op, int b) {
		switch (op) {
		case "+":
			return a + b;
		case "-":
			return a - b;
		case "*":
			return a * b;
		case "/":
			return a / b;
		default:
			throw new RuntimeException();
		}
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		try (Scanner sc = new Scanner(System.in)) {
			int a, b;
			String op;
			while (true) {
				a = sc.nextInt();
				op = sc.next();
				b = sc.nextInt();
				if (op.equals("?")) {
					break;
				}
				System.out.println(calc(a, op, b));
			}
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

	private static int calc(int a, String op, int b) {
		switch (op) {
		case "+":
			return a + b;
		case "-":
			return a - b;
		case "*":
			return a * b;
		case "/":
			return a / b;
		default:
			throw new RuntimeException();
		}
	}
} Main public static void main(String[] args) {
		try (Scanner sc = new Scanner(System.in)) {
			int a, b;
			String op;
			while (true) {
				a = sc.nextInt();
				op = sc.next();
				b = sc.nextInt();
				if (op.equals("?")) {
					break;
				}
				System.out.println(calc(a, op, b));
			}
		} catch (Exception e) {
			e.printStackTrace();
		}
	} main {
		try (Scanner sc = new Scanner(System.in)) {
			int a, b;
			String op;
			while (true) {
				a = sc.nextInt();
				op = sc.next();
				b = sc.nextInt();
				if (op.equals("?")) {
					break;
				}
				System.out.println(calc(a, op, b));
			}
		} catch (Exception e) {
			e.printStackTrace();
		}
	} try (Scanner sc = new Scanner(System.in)) {
			int a, b;
			String op;
			while (true) {
				a = sc.nextInt();
				op = sc.next();
				b = sc.nextInt();
				if (op.equals("?")) {
					break;
				}
				System.out.println(calc(a, op, b));
			}
		} catch (Exception e) {
			e.printStackTrace();
		} catch (Exception e) {
			e.printStackTrace();
		} Exception e {
			e.printStackTrace();
		} e.printStackTrace() e.printStackTrace e {
			int a, b;
			String op;
			while (true) {
				a = sc.nextInt();
				op = sc.next();
				b = sc.nextInt();
				if (op.equals("?")) {
					break;
				}
				System.out.println(calc(a, op, b));
			}
		} Scanner sc = new Scanner(System.in) Scanner sc = new Scanner(System.in) new Scanner(System.in) int a a b; b String op; op while (true) {
				a = sc.nextInt();
				op = sc.next();
				b = sc.nextInt();
				if (op.equals("?")) {
					break;
				}
				System.out.println(calc(a, op, b));
			} true {
				a = sc.nextInt();
				op = sc.next();
				b = sc.nextInt();
				if (op.equals("?")) {
					break;
				}
				System.out.println(calc(a, op, b));
			} 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("?")) {
					break;
				} op.equals("?") op.equals op "?" {
					break;
				} break; System.out.println(calc(a, op, b)) System.out.println System.out System System.out calc(a, op, b) calc a op b String[] args args private static int calc(int a, String op, int b) {
		switch (op) {
		case "+":
			return a + b;
		case "-":
			return a - b;
		case "*":
			return a * b;
		case "/":
			return a / b;
		default:
			throw new RuntimeException();
		}
	} calc {
		switch (op) {
		case "+":
			return a + b;
		case "-":
			return a - b;
		case "*":
			return a * b;
		case "/":
			return a / b;
		default:
			throw new RuntimeException();
		}
	} switch (op) {
		case "+":
			return a + b;
		case "-":
			return a - b;
		case "*":
			return a * b;
		case "/":
			return a / b;
		default:
			throw new RuntimeException();
		} op case "+": "+" case "+": return a + b; a + b a b case "-": "-" case "-": return a - b; a - b a b case "*": "*" case "*": return a * b; a * b a b case "/": "/" case "/": return a / b; a / b a b default: default: throw new RuntimeException(); new RuntimeException() int a a String op op int b b public class Main {
	public static void main(String[] args) {
		try (Scanner sc = new Scanner(System.in)) {
			int a, b;
			String op;
			while (true) {
				a = sc.nextInt();
				op = sc.next();
				b = sc.nextInt();
				if (op.equals("?")) {
					break;
				}
				System.out.println(calc(a, op, b));
			}
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

	private static int calc(int a, String op, int b) {
		switch (op) {
		case "+":
			return a + b;
		case "-":
			return a - b;
		case "*":
			return a * b;
		case "/":
			return a / b;
		default:
			throw new RuntimeException();
		}
	}
} public class Main {
	public static void main(String[] args) {
		try (Scanner sc = new Scanner(System.in)) {
			int a, b;
			String op;
			while (true) {
				a = sc.nextInt();
				op = sc.next();
				b = sc.nextInt();
				if (op.equals("?")) {
					break;
				}
				System.out.println(calc(a, op, b));
			}
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

	private static int calc(int a, String op, int b) {
		switch (op) {
		case "+":
			return a + b;
		case "-":
			return a - b;
		case "*":
			return a * b;
		case "/":
			return a / b;
		default:
			throw new RuntimeException();
		}
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		try (Scanner sc = new Scanner(System.in)) {
			int a, b;
			String op;
			while (true) {
				a = sc.nextInt();
				op = sc.next();
				b = sc.nextInt();
				if (op.equals("?")) {
					break;
				}
				System.out.println(calc(a, op, b));
			}
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

	private static int calc(int a, String op, int b) {
		switch (op) {
		case "+":
			return a + b;
		case "-":
			return a - b;
		case "*":
			return a * b;
		case "/":
			return a / b;
		default:
			throw new RuntimeException();
		}
	}
}