import java.io.*;

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

		while(true) {
			String[] input = br.readLine().split(" ");
			int a = Integer.parseInt(input[0]);
			int b = Integer.parseInt(input[2]);
			char op = input[1].charAt(0);

			if(op == '?')
				break;
			if(op == '+') {
				System.out.println(a + b);
			}
			if(op == '-') {
				System.out.println(a - b);
			}
			if(op == '*') {
				System.out.println(a * b);
			}
			if(op == '/') {
				System.out.println(a / b);
			}
		}
	}
} import java.io.*; io.* java class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader br =
			new BufferedReader(new InputStreamReader(System.in));

		while(true) {
			String[] input = br.readLine().split(" ");
			int a = Integer.parseInt(input[0]);
			int b = Integer.parseInt(input[2]);
			char op = input[1].charAt(0);

			if(op == '?')
				break;
			if(op == '+') {
				System.out.println(a + b);
			}
			if(op == '-') {
				System.out.println(a - b);
			}
			if(op == '*') {
				System.out.println(a * b);
			}
			if(op == '/') {
				System.out.println(a / b);
			}
		}
	}
} Main public static void main(String[] args) throws IOException {
		BufferedReader br =
			new BufferedReader(new InputStreamReader(System.in));

		while(true) {
			String[] input = br.readLine().split(" ");
			int a = Integer.parseInt(input[0]);
			int b = Integer.parseInt(input[2]);
			char op = input[1].charAt(0);

			if(op == '?')
				break;
			if(op == '+') {
				System.out.println(a + b);
			}
			if(op == '-') {
				System.out.println(a - b);
			}
			if(op == '*') {
				System.out.println(a * b);
			}
			if(op == '/') {
				System.out.println(a / b);
			}
		}
	} main {
		BufferedReader br =
			new BufferedReader(new InputStreamReader(System.in));

		while(true) {
			String[] input = br.readLine().split(" ");
			int a = Integer.parseInt(input[0]);
			int b = Integer.parseInt(input[2]);
			char op = input[1].charAt(0);

			if(op == '?')
				break;
			if(op == '+') {
				System.out.println(a + b);
			}
			if(op == '-') {
				System.out.println(a - b);
			}
			if(op == '*') {
				System.out.println(a * b);
			}
			if(op == '/') {
				System.out.println(a / b);
			}
		}
	} BufferedReader br =
			new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) while(true) {
			String[] input = br.readLine().split(" ");
			int a = Integer.parseInt(input[0]);
			int b = Integer.parseInt(input[2]);
			char op = input[1].charAt(0);

			if(op == '?')
				break;
			if(op == '+') {
				System.out.println(a + b);
			}
			if(op == '-') {
				System.out.println(a - b);
			}
			if(op == '*') {
				System.out.println(a * b);
			}
			if(op == '/') {
				System.out.println(a / b);
			}
		} true {
			String[] input = br.readLine().split(" ");
			int a = Integer.parseInt(input[0]);
			int b = Integer.parseInt(input[2]);
			char op = input[1].charAt(0);

			if(op == '?')
				break;
			if(op == '+') {
				System.out.println(a + b);
			}
			if(op == '-') {
				System.out.println(a - b);
			}
			if(op == '*') {
				System.out.println(a * b);
			}
			if(op == '/') {
				System.out.println(a / b);
			}
		} String[] input = br.readLine().split(" "); input br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " int a = Integer.parseInt(input[0]); a Integer.parseInt(input[0]) Integer.parseInt Integer input[0] input 0 int b = Integer.parseInt(input[2]); b Integer.parseInt(input[2]) Integer.parseInt Integer input[2] input 2 char op = input[1].charAt(0); op input[1].charAt(0) input[1].charAt input[1] input 1 0 if(op == '?')
				break; op == '?' op '?' break; if(op == '+') {
				System.out.println(a + b);
			} op == '+' 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 == '-') {
				System.out.println(a - b);
			} op == '-' 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 == '*') {
				System.out.println(a * b);
			} op == '*' 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 == '/') {
				System.out.println(a / b);
			} op == '/' 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
import java.io.*;

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

		while(true) {
			String[] input = br.readLine().split(" ");
			int a = Integer.parseInt(input[0]);
			int b = Integer.parseInt(input[2]);
			char op = input[1].charAt(0);

			if(op == '?')
				break;
			if(op == '+') {
				System.out.println(a + b);
			}
			if(op == '-') {
				System.out.println(a - b);
			}
			if(op == '*') {
				System.out.println(a * b);
			}
			if(op == '/') {
				System.out.println(a / b);
			}
		}
	}
}