import java.io.*;

class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		try {
			while (true) {
				String input = br.readLine();
				String[] cut = input.split(" ");
				int a = Integer.parseInt(cut[0]);
				String op = cut[1];
				int b = Integer.parseInt(cut[2]);
				if (op.equals("?"))
					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;
				}

			}
			br.close();
		} catch (Exception e) {
			System.exit(-1);
		}

	}
} import java.io.*; io.* java class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		try {
			while (true) {
				String input = br.readLine();
				String[] cut = input.split(" ");
				int a = Integer.parseInt(cut[0]);
				String op = cut[1];
				int b = Integer.parseInt(cut[2]);
				if (op.equals("?"))
					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;
				}

			}
			br.close();
		} catch (Exception e) {
			System.exit(-1);
		}

	}
} Main public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		try {
			while (true) {
				String input = br.readLine();
				String[] cut = input.split(" ");
				int a = Integer.parseInt(cut[0]);
				String op = cut[1];
				int b = Integer.parseInt(cut[2]);
				if (op.equals("?"))
					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;
				}

			}
			br.close();
		} catch (Exception e) {
			System.exit(-1);
		}

	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		try {
			while (true) {
				String input = br.readLine();
				String[] cut = input.split(" ");
				int a = Integer.parseInt(cut[0]);
				String op = cut[1];
				int b = Integer.parseInt(cut[2]);
				if (op.equals("?"))
					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;
				}

			}
			br.close();
		} catch (Exception e) {
			System.exit(-1);
		}

	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) try {
			while (true) {
				String input = br.readLine();
				String[] cut = input.split(" ");
				int a = Integer.parseInt(cut[0]);
				String op = cut[1];
				int b = Integer.parseInt(cut[2]);
				if (op.equals("?"))
					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;
				}

			}
			br.close();
		} catch (Exception e) {
			System.exit(-1);
		} catch (Exception e) {
			System.exit(-1);
		} Exception e {
			System.exit(-1);
		} System.exit(-1) System.exit System -1 1 {
			while (true) {
				String input = br.readLine();
				String[] cut = input.split(" ");
				int a = Integer.parseInt(cut[0]);
				String op = cut[1];
				int b = Integer.parseInt(cut[2]);
				if (op.equals("?"))
					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;
				}

			}
			br.close();
		} while (true) {
				String input = br.readLine();
				String[] cut = input.split(" ");
				int a = Integer.parseInt(cut[0]);
				String op = cut[1];
				int b = Integer.parseInt(cut[2]);
				if (op.equals("?"))
					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;
				}

			} true {
				String input = br.readLine();
				String[] cut = input.split(" ");
				int a = Integer.parseInt(cut[0]);
				String op = cut[1];
				int b = Integer.parseInt(cut[2]);
				if (op.equals("?"))
					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;
				}

			} String input = br.readLine(); input br.readLine() br.readLine br String[] cut = input.split(" "); cut input.split(" ") input.split input " " int a = Integer.parseInt(cut[0]); a Integer.parseInt(cut[0]) Integer.parseInt Integer cut[0] cut 0 String op = cut[1]; op cut[1] cut 1 int b = Integer.parseInt(cut[2]); b Integer.parseInt(cut[2]) Integer.parseInt Integer cut[2] cut 2 if (op.equals("?"))
					break; op.equals("?") op.equals op "?" 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; br.close() br.close br String[] args args
import java.io.*;

class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		try {
			while (true) {
				String input = br.readLine();
				String[] cut = input.split(" ");
				int a = Integer.parseInt(cut[0]);
				String op = cut[1];
				int b = Integer.parseInt(cut[2]);
				if (op.equals("?"))
					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;
				}

			}
			br.close();
		} catch (Exception e) {
			System.exit(-1);
		}

	}
}