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

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

			while (true) {
				String str = reader.readLine();
				String[] arr = str.split(" ");
				String op = arr[1];
				if ("?".equals(arr[1])) {
					break;
				}
				int a = Integer.parseInt(arr[0]);
				int b = Integer.parseInt(arr[2]);
				int sum = 0;
				switch (op) {
				case "+":
					sum = a + b;
					break;
				case "-":
					sum = a - b;
					break;
				case "*":
					sum = a * b;
					break;
				case "/":
					sum = a / b;
					break;
				default:
					break;
				}
				System.out.println(sum);
			}
		} 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 public class Main {
	
	public static void main(String[] args) {
		try {
			BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));

			while (true) {
				String str = reader.readLine();
				String[] arr = str.split(" ");
				String op = arr[1];
				if ("?".equals(arr[1])) {
					break;
				}
				int a = Integer.parseInt(arr[0]);
				int b = Integer.parseInt(arr[2]);
				int sum = 0;
				switch (op) {
				case "+":
					sum = a + b;
					break;
				case "-":
					sum = a - b;
					break;
				case "*":
					sum = a * b;
					break;
				case "/":
					sum = a / b;
					break;
				default:
					break;
				}
				System.out.println(sum);
			}
		} catch (IOException e) {
			e.printStackTrace();
		}
	}

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

			while (true) {
				String str = reader.readLine();
				String[] arr = str.split(" ");
				String op = arr[1];
				if ("?".equals(arr[1])) {
					break;
				}
				int a = Integer.parseInt(arr[0]);
				int b = Integer.parseInt(arr[2]);
				int sum = 0;
				switch (op) {
				case "+":
					sum = a + b;
					break;
				case "-":
					sum = a - b;
					break;
				case "*":
					sum = a * b;
					break;
				case "/":
					sum = a / b;
					break;
				default:
					break;
				}
				System.out.println(sum);
			}
		} catch (IOException e) {
			e.printStackTrace();
		}
	} main {
		try {
			BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));

			while (true) {
				String str = reader.readLine();
				String[] arr = str.split(" ");
				String op = arr[1];
				if ("?".equals(arr[1])) {
					break;
				}
				int a = Integer.parseInt(arr[0]);
				int b = Integer.parseInt(arr[2]);
				int sum = 0;
				switch (op) {
				case "+":
					sum = a + b;
					break;
				case "-":
					sum = a - b;
					break;
				case "*":
					sum = a * b;
					break;
				case "/":
					sum = a / b;
					break;
				default:
					break;
				}
				System.out.println(sum);
			}
		} catch (IOException e) {
			e.printStackTrace();
		}
	} try {
			BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));

			while (true) {
				String str = reader.readLine();
				String[] arr = str.split(" ");
				String op = arr[1];
				if ("?".equals(arr[1])) {
					break;
				}
				int a = Integer.parseInt(arr[0]);
				int b = Integer.parseInt(arr[2]);
				int sum = 0;
				switch (op) {
				case "+":
					sum = a + b;
					break;
				case "-":
					sum = a - b;
					break;
				case "*":
					sum = a * b;
					break;
				case "/":
					sum = a / b;
					break;
				default:
					break;
				}
				System.out.println(sum);
			}
		} catch (IOException e) {
			e.printStackTrace();
		} catch (IOException e) {
			e.printStackTrace();
		} IOException e {
			e.printStackTrace();
		} e.printStackTrace() e.printStackTrace e {
			BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));

			while (true) {
				String str = reader.readLine();
				String[] arr = str.split(" ");
				String op = arr[1];
				if ("?".equals(arr[1])) {
					break;
				}
				int a = Integer.parseInt(arr[0]);
				int b = Integer.parseInt(arr[2]);
				int sum = 0;
				switch (op) {
				case "+":
					sum = a + b;
					break;
				case "-":
					sum = a - b;
					break;
				case "*":
					sum = a * b;
					break;
				case "/":
					sum = a / b;
					break;
				default:
					break;
				}
				System.out.println(sum);
			}
		} BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); reader new BufferedReader(new InputStreamReader(System.in)) while (true) {
				String str = reader.readLine();
				String[] arr = str.split(" ");
				String op = arr[1];
				if ("?".equals(arr[1])) {
					break;
				}
				int a = Integer.parseInt(arr[0]);
				int b = Integer.parseInt(arr[2]);
				int sum = 0;
				switch (op) {
				case "+":
					sum = a + b;
					break;
				case "-":
					sum = a - b;
					break;
				case "*":
					sum = a * b;
					break;
				case "/":
					sum = a / b;
					break;
				default:
					break;
				}
				System.out.println(sum);
			} true {
				String str = reader.readLine();
				String[] arr = str.split(" ");
				String op = arr[1];
				if ("?".equals(arr[1])) {
					break;
				}
				int a = Integer.parseInt(arr[0]);
				int b = Integer.parseInt(arr[2]);
				int sum = 0;
				switch (op) {
				case "+":
					sum = a + b;
					break;
				case "-":
					sum = a - b;
					break;
				case "*":
					sum = a * b;
					break;
				case "/":
					sum = a / b;
					break;
				default:
					break;
				}
				System.out.println(sum);
			} String str = reader.readLine(); str reader.readLine() reader.readLine reader String[] arr = str.split(" "); arr str.split(" ") str.split str " " String op = arr[1]; op arr[1] arr 1 if ("?".equals(arr[1])) {
					break;
				} "?".equals(arr[1]) "?".equals "?" arr[1] arr 1 {
					break;
				} break; int a = Integer.parseInt(arr[0]); a Integer.parseInt(arr[0]) Integer.parseInt Integer arr[0] arr 0 int b = Integer.parseInt(arr[2]); b Integer.parseInt(arr[2]) Integer.parseInt Integer arr[2] arr 2 int sum = 0; sum 0 switch (op) {
				case "+":
					sum = a + b;
					break;
				case "-":
					sum = a - b;
					break;
				case "*":
					sum = a * b;
					break;
				case "/":
					sum = a / b;
					break;
				default:
					break;
				} op case "+": "+" case "+": sum = a + b sum a + b a b break; case "-": "-" case "-": sum = a - b sum a - b a b break; case "*": "*" case "*": sum = a * b sum a * b a b break; case "/": "/" case "/": sum = a / b sum a / b a b break; default: default: break; System.out.println(sum) System.out.println System.out System System.out sum String[] args args public class Main {
	
	public static void main(String[] args) {
		try {
			BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));

			while (true) {
				String str = reader.readLine();
				String[] arr = str.split(" ");
				String op = arr[1];
				if ("?".equals(arr[1])) {
					break;
				}
				int a = Integer.parseInt(arr[0]);
				int b = Integer.parseInt(arr[2]);
				int sum = 0;
				switch (op) {
				case "+":
					sum = a + b;
					break;
				case "-":
					sum = a - b;
					break;
				case "*":
					sum = a * b;
					break;
				case "/":
					sum = a / b;
					break;
				default:
					break;
				}
				System.out.println(sum);
			}
		} catch (IOException e) {
			e.printStackTrace();
		}
	}

} public class Main {
	
	public static void main(String[] args) {
		try {
			BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));

			while (true) {
				String str = reader.readLine();
				String[] arr = str.split(" ");
				String op = arr[1];
				if ("?".equals(arr[1])) {
					break;
				}
				int a = Integer.parseInt(arr[0]);
				int b = Integer.parseInt(arr[2]);
				int sum = 0;
				switch (op) {
				case "+":
					sum = a + b;
					break;
				case "-":
					sum = a - b;
					break;
				case "*":
					sum = a * b;
					break;
				case "/":
					sum = a / b;
					break;
				default:
					break;
				}
				System.out.println(sum);
			}
		} catch (IOException e) {
			e.printStackTrace();
		}
	}

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

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

			while (true) {
				String str = reader.readLine();
				String[] arr = str.split(" ");
				String op = arr[1];
				if ("?".equals(arr[1])) {
					break;
				}
				int a = Integer.parseInt(arr[0]);
				int b = Integer.parseInt(arr[2]);
				int sum = 0;
				switch (op) {
				case "+":
					sum = a + b;
					break;
				case "-":
					sum = a - b;
					break;
				case "*":
					sum = a * b;
					break;
				case "/":
					sum = a / b;
					break;
				default:
					break;
				}
				System.out.println(sum);
			}
		} catch (IOException e) {
			e.printStackTrace();
		}
	}

}