import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

class Main {
	public static void main(String[] args) {
		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(isr);
		try {
			String[] input;
			int a, b, ret = 0;
			String op;
			do {
				input = br.readLine().split(" ");
				a = Integer.parseInt(input[0]);
				op = input[1];
				b = Integer.parseInt(input[2]);
				if (op.equals("?")) {
					break;
				} else {
					if (op.equals("+")) {
						ret = a + b;
					} else if (op.equals("-")) {
						ret = a - b;
					} else if (op.equals("*")) {
						ret = a * b;
					} else if (op.equals("/")) {
						ret = a / b;
					}
					System.out.println(ret);
				}
			} while (true);
		} catch (IOException e) {
			e.printStackTrace();
		}
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io class Main {
	public static void main(String[] args) {
		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(isr);
		try {
			String[] input;
			int a, b, ret = 0;
			String op;
			do {
				input = br.readLine().split(" ");
				a = Integer.parseInt(input[0]);
				op = input[1];
				b = Integer.parseInt(input[2]);
				if (op.equals("?")) {
					break;
				} else {
					if (op.equals("+")) {
						ret = a + b;
					} else if (op.equals("-")) {
						ret = a - b;
					} else if (op.equals("*")) {
						ret = a * b;
					} else if (op.equals("/")) {
						ret = a / b;
					}
					System.out.println(ret);
				}
			} while (true);
		} catch (IOException e) {
			e.printStackTrace();
		}
	}
} Main public static void main(String[] args) {
		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(isr);
		try {
			String[] input;
			int a, b, ret = 0;
			String op;
			do {
				input = br.readLine().split(" ");
				a = Integer.parseInt(input[0]);
				op = input[1];
				b = Integer.parseInt(input[2]);
				if (op.equals("?")) {
					break;
				} else {
					if (op.equals("+")) {
						ret = a + b;
					} else if (op.equals("-")) {
						ret = a - b;
					} else if (op.equals("*")) {
						ret = a * b;
					} else if (op.equals("/")) {
						ret = a / b;
					}
					System.out.println(ret);
				}
			} while (true);
		} catch (IOException e) {
			e.printStackTrace();
		}
	} main {
		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(isr);
		try {
			String[] input;
			int a, b, ret = 0;
			String op;
			do {
				input = br.readLine().split(" ");
				a = Integer.parseInt(input[0]);
				op = input[1];
				b = Integer.parseInt(input[2]);
				if (op.equals("?")) {
					break;
				} else {
					if (op.equals("+")) {
						ret = a + b;
					} else if (op.equals("-")) {
						ret = a - b;
					} else if (op.equals("*")) {
						ret = a * b;
					} else if (op.equals("/")) {
						ret = a / b;
					}
					System.out.println(ret);
				}
			} while (true);
		} catch (IOException e) {
			e.printStackTrace();
		}
	} InputStreamReader isr = new InputStreamReader(System.in); isr new InputStreamReader(System.in) BufferedReader br = new BufferedReader(isr); br new BufferedReader(isr) try {
			String[] input;
			int a, b, ret = 0;
			String op;
			do {
				input = br.readLine().split(" ");
				a = Integer.parseInt(input[0]);
				op = input[1];
				b = Integer.parseInt(input[2]);
				if (op.equals("?")) {
					break;
				} else {
					if (op.equals("+")) {
						ret = a + b;
					} else if (op.equals("-")) {
						ret = a - b;
					} else if (op.equals("*")) {
						ret = a * b;
					} else if (op.equals("/")) {
						ret = a / b;
					}
					System.out.println(ret);
				}
			} while (true);
		} catch (IOException e) {
			e.printStackTrace();
		} catch (IOException e) {
			e.printStackTrace();
		} IOException e {
			e.printStackTrace();
		} e.printStackTrace() e.printStackTrace e {
			String[] input;
			int a, b, ret = 0;
			String op;
			do {
				input = br.readLine().split(" ");
				a = Integer.parseInt(input[0]);
				op = input[1];
				b = Integer.parseInt(input[2]);
				if (op.equals("?")) {
					break;
				} else {
					if (op.equals("+")) {
						ret = a + b;
					} else if (op.equals("-")) {
						ret = a - b;
					} else if (op.equals("*")) {
						ret = a * b;
					} else if (op.equals("/")) {
						ret = a / b;
					}
					System.out.println(ret);
				}
			} while (true);
		} String[] input; input int a a b b ret = 0; ret 0 String op; op do {
				input = br.readLine().split(" ");
				a = Integer.parseInt(input[0]);
				op = input[1];
				b = Integer.parseInt(input[2]);
				if (op.equals("?")) {
					break;
				} else {
					if (op.equals("+")) {
						ret = a + b;
					} else if (op.equals("-")) {
						ret = a - b;
					} else if (op.equals("*")) {
						ret = a * b;
					} else if (op.equals("/")) {
						ret = a / b;
					}
					System.out.println(ret);
				}
			} while (true); true {
				input = br.readLine().split(" ");
				a = Integer.parseInt(input[0]);
				op = input[1];
				b = Integer.parseInt(input[2]);
				if (op.equals("?")) {
					break;
				} else {
					if (op.equals("+")) {
						ret = a + b;
					} else if (op.equals("-")) {
						ret = a - b;
					} else if (op.equals("*")) {
						ret = a * b;
					} else if (op.equals("/")) {
						ret = a / b;
					}
					System.out.println(ret);
				}
			} input = br.readLine().split(" ") input br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " a = Integer.parseInt(input[0]) a Integer.parseInt(input[0]) Integer.parseInt Integer input[0] input 0 op = input[1] op input[1] input 1 b = Integer.parseInt(input[2]) b Integer.parseInt(input[2]) Integer.parseInt Integer input[2] input 2 if (op.equals("?")) {
					break;
				} else {
					if (op.equals("+")) {
						ret = a + b;
					} else if (op.equals("-")) {
						ret = a - b;
					} else if (op.equals("*")) {
						ret = a * b;
					} else if (op.equals("/")) {
						ret = a / b;
					}
					System.out.println(ret);
				} op.equals("?") op.equals op "?" {
					break;
				} break; {
					if (op.equals("+")) {
						ret = a + b;
					} else if (op.equals("-")) {
						ret = a - b;
					} else if (op.equals("*")) {
						ret = a * b;
					} else if (op.equals("/")) {
						ret = a / b;
					}
					System.out.println(ret);
				} if (op.equals("+")) {
						ret = a + b;
					} else if (op.equals("-")) {
						ret = a - b;
					} else if (op.equals("*")) {
						ret = a * b;
					} else if (op.equals("/")) {
						ret = a / b;
					} op.equals("+") op.equals op "+" {
						ret = a + b;
					} ret = a + b ret a + b a b if (op.equals("-")) {
						ret = a - b;
					} else if (op.equals("*")) {
						ret = a * b;
					} else if (op.equals("/")) {
						ret = a / b;
					} op.equals("-") op.equals op "-" {
						ret = a - b;
					} ret = a - b ret a - b a b if (op.equals("*")) {
						ret = a * b;
					} else if (op.equals("/")) {
						ret = a / b;
					} op.equals("*") op.equals op "*" {
						ret = a * b;
					} ret = a * b ret a * b a b if (op.equals("/")) {
						ret = a / b;
					} op.equals("/") op.equals op "/" {
						ret = a / b;
					} ret = a / b ret a / b a b System.out.println(ret) System.out.println System.out System System.out ret String[] args args
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

class Main {
	public static void main(String[] args) {
		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(isr);
		try {
			String[] input;
			int a, b, ret = 0;
			String op;
			do {
				input = br.readLine().split(" ");
				a = Integer.parseInt(input[0]);
				op = input[1];
				b = Integer.parseInt(input[2]);
				if (op.equals("?")) {
					break;
				} else {
					if (op.equals("+")) {
						ret = a + b;
					} else if (op.equals("-")) {
						ret = a - b;
					} else if (op.equals("*")) {
						ret = a * b;
					} else if (op.equals("/")) {
						ret = a / b;
					}
					System.out.println(ret);
				}
			} while (true);
		} catch (IOException e) {
			e.printStackTrace();
		}
	}
}