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

public class Main {

	public static void main(String[] args) {
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(
					System.in));
			String line;
			String[] strArray = new String[3];
			boolean cntFlg = true;

			while (cntFlg == true){
				
				line = br.readLine();
				strArray = line.split("\\s");
				
				switch (strArray[1].charAt(0)) {
				case '+':
					System.out.println(Integer.parseInt(strArray[0])
							+ Integer.parseInt(strArray[2]));
					break;
				case '-':
					System.out.println(Integer.parseInt(strArray[0])
							- Integer.parseInt(strArray[2]));
					break;
				case '*':
					System.out.println(Integer.parseInt(strArray[0])
							* Integer.parseInt(strArray[2]));
					break;
				case '/':
					System.out.println(Integer.parseInt(strArray[0])
							/ Integer.parseInt(strArray[2]));
					break;
				case '?':
					cntFlg = false;
					break;
				default:
					break;
				}
			}
			br.close();
		} catch (Exception e) {
			System.err.println(e);
		}
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {

	public static void main(String[] args) {
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(
					System.in));
			String line;
			String[] strArray = new String[3];
			boolean cntFlg = true;

			while (cntFlg == true){
				
				line = br.readLine();
				strArray = line.split("\\s");
				
				switch (strArray[1].charAt(0)) {
				case '+':
					System.out.println(Integer.parseInt(strArray[0])
							+ Integer.parseInt(strArray[2]));
					break;
				case '-':
					System.out.println(Integer.parseInt(strArray[0])
							- Integer.parseInt(strArray[2]));
					break;
				case '*':
					System.out.println(Integer.parseInt(strArray[0])
							* Integer.parseInt(strArray[2]));
					break;
				case '/':
					System.out.println(Integer.parseInt(strArray[0])
							/ Integer.parseInt(strArray[2]));
					break;
				case '?':
					cntFlg = false;
					break;
				default:
					break;
				}
			}
			br.close();
		} catch (Exception e) {
			System.err.println(e);
		}
	}
} Main public static void main(String[] args) {
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(
					System.in));
			String line;
			String[] strArray = new String[3];
			boolean cntFlg = true;

			while (cntFlg == true){
				
				line = br.readLine();
				strArray = line.split("\\s");
				
				switch (strArray[1].charAt(0)) {
				case '+':
					System.out.println(Integer.parseInt(strArray[0])
							+ Integer.parseInt(strArray[2]));
					break;
				case '-':
					System.out.println(Integer.parseInt(strArray[0])
							- Integer.parseInt(strArray[2]));
					break;
				case '*':
					System.out.println(Integer.parseInt(strArray[0])
							* Integer.parseInt(strArray[2]));
					break;
				case '/':
					System.out.println(Integer.parseInt(strArray[0])
							/ Integer.parseInt(strArray[2]));
					break;
				case '?':
					cntFlg = false;
					break;
				default:
					break;
				}
			}
			br.close();
		} catch (Exception e) {
			System.err.println(e);
		}
	} main {
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(
					System.in));
			String line;
			String[] strArray = new String[3];
			boolean cntFlg = true;

			while (cntFlg == true){
				
				line = br.readLine();
				strArray = line.split("\\s");
				
				switch (strArray[1].charAt(0)) {
				case '+':
					System.out.println(Integer.parseInt(strArray[0])
							+ Integer.parseInt(strArray[2]));
					break;
				case '-':
					System.out.println(Integer.parseInt(strArray[0])
							- Integer.parseInt(strArray[2]));
					break;
				case '*':
					System.out.println(Integer.parseInt(strArray[0])
							* Integer.parseInt(strArray[2]));
					break;
				case '/':
					System.out.println(Integer.parseInt(strArray[0])
							/ Integer.parseInt(strArray[2]));
					break;
				case '?':
					cntFlg = false;
					break;
				default:
					break;
				}
			}
			br.close();
		} catch (Exception e) {
			System.err.println(e);
		}
	} try {
			BufferedReader br = new BufferedReader(new InputStreamReader(
					System.in));
			String line;
			String[] strArray = new String[3];
			boolean cntFlg = true;

			while (cntFlg == true){
				
				line = br.readLine();
				strArray = line.split("\\s");
				
				switch (strArray[1].charAt(0)) {
				case '+':
					System.out.println(Integer.parseInt(strArray[0])
							+ Integer.parseInt(strArray[2]));
					break;
				case '-':
					System.out.println(Integer.parseInt(strArray[0])
							- Integer.parseInt(strArray[2]));
					break;
				case '*':
					System.out.println(Integer.parseInt(strArray[0])
							* Integer.parseInt(strArray[2]));
					break;
				case '/':
					System.out.println(Integer.parseInt(strArray[0])
							/ Integer.parseInt(strArray[2]));
					break;
				case '?':
					cntFlg = false;
					break;
				default:
					break;
				}
			}
			br.close();
		} catch (Exception e) {
			System.err.println(e);
		} catch (Exception e) {
			System.err.println(e);
		} Exception e {
			System.err.println(e);
		} System.err.println(e) System.err.println System.err System System.err e {
			BufferedReader br = new BufferedReader(new InputStreamReader(
					System.in));
			String line;
			String[] strArray = new String[3];
			boolean cntFlg = true;

			while (cntFlg == true){
				
				line = br.readLine();
				strArray = line.split("\\s");
				
				switch (strArray[1].charAt(0)) {
				case '+':
					System.out.println(Integer.parseInt(strArray[0])
							+ Integer.parseInt(strArray[2]));
					break;
				case '-':
					System.out.println(Integer.parseInt(strArray[0])
							- Integer.parseInt(strArray[2]));
					break;
				case '*':
					System.out.println(Integer.parseInt(strArray[0])
							* Integer.parseInt(strArray[2]));
					break;
				case '/':
					System.out.println(Integer.parseInt(strArray[0])
							/ Integer.parseInt(strArray[2]));
					break;
				case '?':
					cntFlg = false;
					break;
				default:
					break;
				}
			}
			br.close();
		} BufferedReader br = new BufferedReader(new InputStreamReader(
					System.in)); br new BufferedReader(new InputStreamReader(
					System.in)) String line; line String[] strArray = new String[3]; strArray new String[3] 3 boolean cntFlg = true; cntFlg true while (cntFlg == true){
				
				line = br.readLine();
				strArray = line.split("\\s");
				
				switch (strArray[1].charAt(0)) {
				case '+':
					System.out.println(Integer.parseInt(strArray[0])
							+ Integer.parseInt(strArray[2]));
					break;
				case '-':
					System.out.println(Integer.parseInt(strArray[0])
							- Integer.parseInt(strArray[2]));
					break;
				case '*':
					System.out.println(Integer.parseInt(strArray[0])
							* Integer.parseInt(strArray[2]));
					break;
				case '/':
					System.out.println(Integer.parseInt(strArray[0])
							/ Integer.parseInt(strArray[2]));
					break;
				case '?':
					cntFlg = false;
					break;
				default:
					break;
				}
			} cntFlg == true cntFlg true {
				
				line = br.readLine();
				strArray = line.split("\\s");
				
				switch (strArray[1].charAt(0)) {
				case '+':
					System.out.println(Integer.parseInt(strArray[0])
							+ Integer.parseInt(strArray[2]));
					break;
				case '-':
					System.out.println(Integer.parseInt(strArray[0])
							- Integer.parseInt(strArray[2]));
					break;
				case '*':
					System.out.println(Integer.parseInt(strArray[0])
							* Integer.parseInt(strArray[2]));
					break;
				case '/':
					System.out.println(Integer.parseInt(strArray[0])
							/ Integer.parseInt(strArray[2]));
					break;
				case '?':
					cntFlg = false;
					break;
				default:
					break;
				}
			} line = br.readLine() line br.readLine() br.readLine br strArray = line.split("\\s") strArray line.split("\\s") line.split line "\\s" switch (strArray[1].charAt(0)) {
				case '+':
					System.out.println(Integer.parseInt(strArray[0])
							+ Integer.parseInt(strArray[2]));
					break;
				case '-':
					System.out.println(Integer.parseInt(strArray[0])
							- Integer.parseInt(strArray[2]));
					break;
				case '*':
					System.out.println(Integer.parseInt(strArray[0])
							* Integer.parseInt(strArray[2]));
					break;
				case '/':
					System.out.println(Integer.parseInt(strArray[0])
							/ Integer.parseInt(strArray[2]));
					break;
				case '?':
					cntFlg = false;
					break;
				default:
					break;
				} strArray[1].charAt(0) strArray[1].charAt strArray[1] strArray 1 0 case '+': '+' case '+': System.out.println(Integer.parseInt(strArray[0])
							+ Integer.parseInt(strArray[2])) System.out.println System.out System System.out Integer.parseInt(strArray[0])
							+ Integer.parseInt(strArray[2]) Integer.parseInt(strArray[0]) Integer.parseInt Integer strArray[0] strArray 0 Integer.parseInt(strArray[2]) Integer.parseInt Integer strArray[2] strArray 2 break; case '-': '-' case '-': System.out.println(Integer.parseInt(strArray[0])
							- Integer.parseInt(strArray[2])) System.out.println System.out System System.out Integer.parseInt(strArray[0])
							- Integer.parseInt(strArray[2]) Integer.parseInt(strArray[0]) Integer.parseInt Integer strArray[0] strArray 0 Integer.parseInt(strArray[2]) Integer.parseInt Integer strArray[2] strArray 2 break; case '*': '*' case '*': System.out.println(Integer.parseInt(strArray[0])
							* Integer.parseInt(strArray[2])) System.out.println System.out System System.out Integer.parseInt(strArray[0])
							* Integer.parseInt(strArray[2]) Integer.parseInt(strArray[0]) Integer.parseInt Integer strArray[0] strArray 0 Integer.parseInt(strArray[2]) Integer.parseInt Integer strArray[2] strArray 2 break; case '/': '/' case '/': System.out.println(Integer.parseInt(strArray[0])
							/ Integer.parseInt(strArray[2])) System.out.println System.out System System.out Integer.parseInt(strArray[0])
							/ Integer.parseInt(strArray[2]) Integer.parseInt(strArray[0]) Integer.parseInt Integer strArray[0] strArray 0 Integer.parseInt(strArray[2]) Integer.parseInt Integer strArray[2] strArray 2 break; case '?': '?' case '?': cntFlg = false cntFlg false break; default: default: break; br.close() br.close br String[] args args public class Main {

	public static void main(String[] args) {
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(
					System.in));
			String line;
			String[] strArray = new String[3];
			boolean cntFlg = true;

			while (cntFlg == true){
				
				line = br.readLine();
				strArray = line.split("\\s");
				
				switch (strArray[1].charAt(0)) {
				case '+':
					System.out.println(Integer.parseInt(strArray[0])
							+ Integer.parseInt(strArray[2]));
					break;
				case '-':
					System.out.println(Integer.parseInt(strArray[0])
							- Integer.parseInt(strArray[2]));
					break;
				case '*':
					System.out.println(Integer.parseInt(strArray[0])
							* Integer.parseInt(strArray[2]));
					break;
				case '/':
					System.out.println(Integer.parseInt(strArray[0])
							/ Integer.parseInt(strArray[2]));
					break;
				case '?':
					cntFlg = false;
					break;
				default:
					break;
				}
			}
			br.close();
		} catch (Exception e) {
			System.err.println(e);
		}
	}
} public class Main {

	public static void main(String[] args) {
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(
					System.in));
			String line;
			String[] strArray = new String[3];
			boolean cntFlg = true;

			while (cntFlg == true){
				
				line = br.readLine();
				strArray = line.split("\\s");
				
				switch (strArray[1].charAt(0)) {
				case '+':
					System.out.println(Integer.parseInt(strArray[0])
							+ Integer.parseInt(strArray[2]));
					break;
				case '-':
					System.out.println(Integer.parseInt(strArray[0])
							- Integer.parseInt(strArray[2]));
					break;
				case '*':
					System.out.println(Integer.parseInt(strArray[0])
							* Integer.parseInt(strArray[2]));
					break;
				case '/':
					System.out.println(Integer.parseInt(strArray[0])
							/ Integer.parseInt(strArray[2]));
					break;
				case '?':
					cntFlg = false;
					break;
				default:
					break;
				}
			}
			br.close();
		} catch (Exception e) {
			System.err.println(e);
		}
	}
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Main {

	public static void main(String[] args) {
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(
					System.in));
			String line;
			String[] strArray = new String[3];
			boolean cntFlg = true;

			while (cntFlg == true){
				
				line = br.readLine();
				strArray = line.split("\\s");
				
				switch (strArray[1].charAt(0)) {
				case '+':
					System.out.println(Integer.parseInt(strArray[0])
							+ Integer.parseInt(strArray[2]));
					break;
				case '-':
					System.out.println(Integer.parseInt(strArray[0])
							- Integer.parseInt(strArray[2]));
					break;
				case '*':
					System.out.println(Integer.parseInt(strArray[0])
							* Integer.parseInt(strArray[2]));
					break;
				case '/':
					System.out.println(Integer.parseInt(strArray[0])
							/ Integer.parseInt(strArray[2]));
					break;
				case '?':
					cntFlg = false;
					break;
				default:
					break;
				}
			}
			br.close();
		} catch (Exception e) {
			System.err.println(e);
		}
	}
}