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

public class Main {
	public static void main(String args[])  throws Exception{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int a = 0;
		String op = "";
		int b = 0;
		boolean end = false;

		while (end == false) {
			String[] tmp = br.readLine().split(" ");
			a = Integer.parseInt(tmp[0]);
			op = tmp[1];
			b = Integer.parseInt(tmp[2]);

			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;
			case "?":
				end = true;
				break;
			default:

			}
		}

	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {
	public static void main(String args[])  throws Exception{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int a = 0;
		String op = "";
		int b = 0;
		boolean end = false;

		while (end == false) {
			String[] tmp = br.readLine().split(" ");
			a = Integer.parseInt(tmp[0]);
			op = tmp[1];
			b = Integer.parseInt(tmp[2]);

			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;
			case "?":
				end = true;
				break;
			default:

			}
		}

	}
} Main public static void main(String args[])  throws Exception{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int a = 0;
		String op = "";
		int b = 0;
		boolean end = false;

		while (end == false) {
			String[] tmp = br.readLine().split(" ");
			a = Integer.parseInt(tmp[0]);
			op = tmp[1];
			b = Integer.parseInt(tmp[2]);

			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;
			case "?":
				end = true;
				break;
			default:

			}
		}

	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int a = 0;
		String op = "";
		int b = 0;
		boolean end = false;

		while (end == false) {
			String[] tmp = br.readLine().split(" ");
			a = Integer.parseInt(tmp[0]);
			op = tmp[1];
			b = Integer.parseInt(tmp[2]);

			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;
			case "?":
				end = true;
				break;
			default:

			}
		}

	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) int a = 0; a 0 String op = ""; op "" int b = 0; b 0 boolean end = false; end false while (end == false) {
			String[] tmp = br.readLine().split(" ");
			a = Integer.parseInt(tmp[0]);
			op = tmp[1];
			b = Integer.parseInt(tmp[2]);

			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;
			case "?":
				end = true;
				break;
			default:

			}
		} end == false end false {
			String[] tmp = br.readLine().split(" ");
			a = Integer.parseInt(tmp[0]);
			op = tmp[1];
			b = Integer.parseInt(tmp[2]);

			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;
			case "?":
				end = true;
				break;
			default:

			}
		} String[] tmp = br.readLine().split(" "); tmp br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " a = Integer.parseInt(tmp[0]) a Integer.parseInt(tmp[0]) Integer.parseInt Integer tmp[0] tmp 0 op = tmp[1] op tmp[1] tmp 1 b = Integer.parseInt(tmp[2]) b Integer.parseInt(tmp[2]) Integer.parseInt Integer tmp[2] tmp 2 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;
			case "?":
				end = true;
				break;
			default:

			} 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; case "?": "?" case "?": end = true end true break; default: default: String args[] args public class Main {
	public static void main(String args[])  throws Exception{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int a = 0;
		String op = "";
		int b = 0;
		boolean end = false;

		while (end == false) {
			String[] tmp = br.readLine().split(" ");
			a = Integer.parseInt(tmp[0]);
			op = tmp[1];
			b = Integer.parseInt(tmp[2]);

			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;
			case "?":
				end = true;
				break;
			default:

			}
		}

	}
} public class Main {
	public static void main(String args[])  throws Exception{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int a = 0;
		String op = "";
		int b = 0;
		boolean end = false;

		while (end == false) {
			String[] tmp = br.readLine().split(" ");
			a = Integer.parseInt(tmp[0]);
			op = tmp[1];
			b = Integer.parseInt(tmp[2]);

			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;
			case "?":
				end = true;
				break;
			default:

			}
		}

	}
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Main {
	public static void main(String args[])  throws Exception{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int a = 0;
		String op = "";
		int b = 0;
		boolean end = false;

		while (end == false) {
			String[] tmp = br.readLine().split(" ");
			a = Integer.parseInt(tmp[0]);
			op = tmp[1];
			b = Integer.parseInt(tmp[2]);

			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;
			case "?":
				end = true;
				break;
			default:

			}
		}

	}
}