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

public class Main {
	final static BufferedReader br = new BufferedReader(new InputStreamReader(
			System.in));
	static String line = "";
	static int a = 0;
	static String op = "";
	static int b = 0;

	// TODO ?????????????????????????????????????????????
	public static void main(String[] args) throws Exception {
		boolean qFlag = true;
		syokika();
		while (qFlag) {
			if (op.equals("?")) {
				qFlag = false;
			} else
				switch (op) {
				case ("+"):
					System.out.println(a + b);
					syokika();
					break;
				case ("-"):
					System.out.println(a - b);
					syokika();
					break;
				case ("*"):
					System.out.println(a * b);
					syokika();
					break;
				case ("/"):
					System.out.println(a / b);
					syokika();
					break;
				}
		}
	}

	private static void syokika() throws IOException {
		a = 0;
		op = "";
		b = 0;
		line = br.readLine();
		String[] hikakuStr = line.split("[\\s]+");
		a = Integer.parseInt(hikakuStr[0]);
		op = hikakuStr[1];
		b = Integer.parseInt(hikakuStr[2]);
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {
	final static BufferedReader br = new BufferedReader(new InputStreamReader(
			System.in));
	static String line = "";
	static int a = 0;
	static String op = "";
	static int b = 0;

	// TODO ?????????????????????????????????????????????
	public static void main(String[] args) throws Exception {
		boolean qFlag = true;
		syokika();
		while (qFlag) {
			if (op.equals("?")) {
				qFlag = false;
			} else
				switch (op) {
				case ("+"):
					System.out.println(a + b);
					syokika();
					break;
				case ("-"):
					System.out.println(a - b);
					syokika();
					break;
				case ("*"):
					System.out.println(a * b);
					syokika();
					break;
				case ("/"):
					System.out.println(a / b);
					syokika();
					break;
				}
		}
	}

	private static void syokika() throws IOException {
		a = 0;
		op = "";
		b = 0;
		line = br.readLine();
		String[] hikakuStr = line.split("[\\s]+");
		a = Integer.parseInt(hikakuStr[0]);
		op = hikakuStr[1];
		b = Integer.parseInt(hikakuStr[2]);
	}
} Main final static BufferedReader br = new BufferedReader(new InputStreamReader(
			System.in)); br new BufferedReader(new InputStreamReader(
			System.in)) static String line = ""; line "" static int a = 0; a 0 static String op = ""; op "" static int b = 0; b 0 // TODO ?????????????????????????????????????????????
	public static void main(String[] args) throws Exception {
		boolean qFlag = true;
		syokika();
		while (qFlag) {
			if (op.equals("?")) {
				qFlag = false;
			} else
				switch (op) {
				case ("+"):
					System.out.println(a + b);
					syokika();
					break;
				case ("-"):
					System.out.println(a - b);
					syokika();
					break;
				case ("*"):
					System.out.println(a * b);
					syokika();
					break;
				case ("/"):
					System.out.println(a / b);
					syokika();
					break;
				}
		}
	} main {
		boolean qFlag = true;
		syokika();
		while (qFlag) {
			if (op.equals("?")) {
				qFlag = false;
			} else
				switch (op) {
				case ("+"):
					System.out.println(a + b);
					syokika();
					break;
				case ("-"):
					System.out.println(a - b);
					syokika();
					break;
				case ("*"):
					System.out.println(a * b);
					syokika();
					break;
				case ("/"):
					System.out.println(a / b);
					syokika();
					break;
				}
		}
	} boolean qFlag = true; qFlag true syokika() syokika while (qFlag) {
			if (op.equals("?")) {
				qFlag = false;
			} else
				switch (op) {
				case ("+"):
					System.out.println(a + b);
					syokika();
					break;
				case ("-"):
					System.out.println(a - b);
					syokika();
					break;
				case ("*"):
					System.out.println(a * b);
					syokika();
					break;
				case ("/"):
					System.out.println(a / b);
					syokika();
					break;
				}
		} qFlag {
			if (op.equals("?")) {
				qFlag = false;
			} else
				switch (op) {
				case ("+"):
					System.out.println(a + b);
					syokika();
					break;
				case ("-"):
					System.out.println(a - b);
					syokika();
					break;
				case ("*"):
					System.out.println(a * b);
					syokika();
					break;
				case ("/"):
					System.out.println(a / b);
					syokika();
					break;
				}
		} if (op.equals("?")) {
				qFlag = false;
			} else
				switch (op) {
				case ("+"):
					System.out.println(a + b);
					syokika();
					break;
				case ("-"):
					System.out.println(a - b);
					syokika();
					break;
				case ("*"):
					System.out.println(a * b);
					syokika();
					break;
				case ("/"):
					System.out.println(a / b);
					syokika();
					break;
				} op.equals("?") op.equals op "?" {
				qFlag = false;
			} qFlag = false qFlag false switch (op) {
				case ("+"):
					System.out.println(a + b);
					syokika();
					break;
				case ("-"):
					System.out.println(a - b);
					syokika();
					break;
				case ("*"):
					System.out.println(a * b);
					syokika();
					break;
				case ("/"):
					System.out.println(a / b);
					syokika();
					break;
				} op case ("+"): ("+") case ("+"): System.out.println(a + b) System.out.println System.out System System.out a + b a b syokika() syokika break; case ("-"): ("-") case ("-"): System.out.println(a - b) System.out.println System.out System System.out a - b a b syokika() syokika break; case ("*"): ("*") case ("*"): System.out.println(a * b) System.out.println System.out System System.out a * b a b syokika() syokika break; case ("/"): ("/") case ("/"): System.out.println(a / b) System.out.println System.out System System.out a / b a b syokika() syokika break; String[] args args private static void syokika() throws IOException {
		a = 0;
		op = "";
		b = 0;
		line = br.readLine();
		String[] hikakuStr = line.split("[\\s]+");
		a = Integer.parseInt(hikakuStr[0]);
		op = hikakuStr[1];
		b = Integer.parseInt(hikakuStr[2]);
	} syokika {
		a = 0;
		op = "";
		b = 0;
		line = br.readLine();
		String[] hikakuStr = line.split("[\\s]+");
		a = Integer.parseInt(hikakuStr[0]);
		op = hikakuStr[1];
		b = Integer.parseInt(hikakuStr[2]);
	} a = 0 a 0 op = "" op "" b = 0 b 0 line = br.readLine() line br.readLine() br.readLine br String[] hikakuStr = line.split("[\\s]+"); hikakuStr line.split("[\\s]+") line.split line "[\\s]+" a = Integer.parseInt(hikakuStr[0]) a Integer.parseInt(hikakuStr[0]) Integer.parseInt Integer hikakuStr[0] hikakuStr 0 op = hikakuStr[1] op hikakuStr[1] hikakuStr 1 b = Integer.parseInt(hikakuStr[2]) b Integer.parseInt(hikakuStr[2]) Integer.parseInt Integer hikakuStr[2] hikakuStr 2 public class Main {
	final static BufferedReader br = new BufferedReader(new InputStreamReader(
			System.in));
	static String line = "";
	static int a = 0;
	static String op = "";
	static int b = 0;

	// TODO ?????????????????????????????????????????????
	public static void main(String[] args) throws Exception {
		boolean qFlag = true;
		syokika();
		while (qFlag) {
			if (op.equals("?")) {
				qFlag = false;
			} else
				switch (op) {
				case ("+"):
					System.out.println(a + b);
					syokika();
					break;
				case ("-"):
					System.out.println(a - b);
					syokika();
					break;
				case ("*"):
					System.out.println(a * b);
					syokika();
					break;
				case ("/"):
					System.out.println(a / b);
					syokika();
					break;
				}
		}
	}

	private static void syokika() throws IOException {
		a = 0;
		op = "";
		b = 0;
		line = br.readLine();
		String[] hikakuStr = line.split("[\\s]+");
		a = Integer.parseInt(hikakuStr[0]);
		op = hikakuStr[1];
		b = Integer.parseInt(hikakuStr[2]);
	}
} public class Main {
	final static BufferedReader br = new BufferedReader(new InputStreamReader(
			System.in));
	static String line = "";
	static int a = 0;
	static String op = "";
	static int b = 0;

	// TODO ?????????????????????????????????????????????
	public static void main(String[] args) throws Exception {
		boolean qFlag = true;
		syokika();
		while (qFlag) {
			if (op.equals("?")) {
				qFlag = false;
			} else
				switch (op) {
				case ("+"):
					System.out.println(a + b);
					syokika();
					break;
				case ("-"):
					System.out.println(a - b);
					syokika();
					break;
				case ("*"):
					System.out.println(a * b);
					syokika();
					break;
				case ("/"):
					System.out.println(a / b);
					syokika();
					break;
				}
		}
	}

	private static void syokika() throws IOException {
		a = 0;
		op = "";
		b = 0;
		line = br.readLine();
		String[] hikakuStr = line.split("[\\s]+");
		a = Integer.parseInt(hikakuStr[0]);
		op = hikakuStr[1];
		b = Integer.parseInt(hikakuStr[2]);
	}
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {
	final static BufferedReader br = new BufferedReader(new InputStreamReader(
			System.in));
	static String line = "";
	static int a = 0;
	static String op = "";
	static int b = 0;

	// TODO ?????????????????????????????????????????????
	public static void main(String[] args) throws Exception {
		boolean qFlag = true;
		syokika();
		while (qFlag) {
			if (op.equals("?")) {
				qFlag = false;
			} else
				switch (op) {
				case ("+"):
					System.out.println(a + b);
					syokika();
					break;
				case ("-"):
					System.out.println(a - b);
					syokika();
					break;
				case ("*"):
					System.out.println(a * b);
					syokika();
					break;
				case ("/"):
					System.out.println(a / b);
					syokika();
					break;
				}
		}
	}

	private static void syokika() throws IOException {
		a = 0;
		op = "";
		b = 0;
		line = br.readLine();
		String[] hikakuStr = line.split("[\\s]+");
		a = Integer.parseInt(hikakuStr[0]);
		op = hikakuStr[1];
		b = Integer.parseInt(hikakuStr[2]);
	}
}