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

public class Main {

	public static void main(String[] args) {

		//?????£?????????
		int NumA = 0;
		int NumB = 0;

		String line = null;
		String op = null;

		try {
			//??\???????????????
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

			while (true) {
				line = br.readLine();

				if (line != null) {

					//???????????????????????????
					String[] NumList = line.split(" ", 0);

					//????????°?????£??\
					NumA = Integer.parseInt(NumList[0]);
					NumB = Integer.parseInt(NumList[2]);
					op   = NumList[1];

					//???????¢??????¨
					//System.out.println(NumA + op + NumB);

					//?????????????
					if (!op.equals("?")) {

						//????????????
						switch (op) {
						case "+":
							System.out.println(NumA + NumB);
							break;

						case "-":
							System.out.println(NumA - NumB);
							break;

						case "*":
							System.out.println(NumA * NumB);
							break;

						case "/":
							System.out.println(NumA / NumB);
							break;

						default:
							System.out.println("other");
							break;
						}
					}else{
						break;
					}
				}else{
					//System.out.println("END");
					break;
				}
				//System.out.println("???");
			}

		}catch (NumberFormatException e) {
			System.out.println(e);
		} catch (IOException e) {
			System.out.println(e);
		}

	}

} 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) {

		//?????£?????????
		int NumA = 0;
		int NumB = 0;

		String line = null;
		String op = null;

		try {
			//??\???????????????
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

			while (true) {
				line = br.readLine();

				if (line != null) {

					//???????????????????????????
					String[] NumList = line.split(" ", 0);

					//????????°?????£??\
					NumA = Integer.parseInt(NumList[0]);
					NumB = Integer.parseInt(NumList[2]);
					op   = NumList[1];

					//???????¢??????¨
					//System.out.println(NumA + op + NumB);

					//?????????????
					if (!op.equals("?")) {

						//????????????
						switch (op) {
						case "+":
							System.out.println(NumA + NumB);
							break;

						case "-":
							System.out.println(NumA - NumB);
							break;

						case "*":
							System.out.println(NumA * NumB);
							break;

						case "/":
							System.out.println(NumA / NumB);
							break;

						default:
							System.out.println("other");
							break;
						}
					}else{
						break;
					}
				}else{
					//System.out.println("END");
					break;
				}
				//System.out.println("???");
			}

		}catch (NumberFormatException e) {
			System.out.println(e);
		} catch (IOException e) {
			System.out.println(e);
		}

	}

} Main public static void main(String[] args) {

		//?????£?????????
		int NumA = 0;
		int NumB = 0;

		String line = null;
		String op = null;

		try {
			//??\???????????????
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

			while (true) {
				line = br.readLine();

				if (line != null) {

					//???????????????????????????
					String[] NumList = line.split(" ", 0);

					//????????°?????£??\
					NumA = Integer.parseInt(NumList[0]);
					NumB = Integer.parseInt(NumList[2]);
					op   = NumList[1];

					//???????¢??????¨
					//System.out.println(NumA + op + NumB);

					//?????????????
					if (!op.equals("?")) {

						//????????????
						switch (op) {
						case "+":
							System.out.println(NumA + NumB);
							break;

						case "-":
							System.out.println(NumA - NumB);
							break;

						case "*":
							System.out.println(NumA * NumB);
							break;

						case "/":
							System.out.println(NumA / NumB);
							break;

						default:
							System.out.println("other");
							break;
						}
					}else{
						break;
					}
				}else{
					//System.out.println("END");
					break;
				}
				//System.out.println("???");
			}

		}catch (NumberFormatException e) {
			System.out.println(e);
		} catch (IOException e) {
			System.out.println(e);
		}

	} main {

		//?????£?????????
		int NumA = 0;
		int NumB = 0;

		String line = null;
		String op = null;

		try {
			//??\???????????????
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

			while (true) {
				line = br.readLine();

				if (line != null) {

					//???????????????????????????
					String[] NumList = line.split(" ", 0);

					//????????°?????£??\
					NumA = Integer.parseInt(NumList[0]);
					NumB = Integer.parseInt(NumList[2]);
					op   = NumList[1];

					//???????¢??????¨
					//System.out.println(NumA + op + NumB);

					//?????????????
					if (!op.equals("?")) {

						//????????????
						switch (op) {
						case "+":
							System.out.println(NumA + NumB);
							break;

						case "-":
							System.out.println(NumA - NumB);
							break;

						case "*":
							System.out.println(NumA * NumB);
							break;

						case "/":
							System.out.println(NumA / NumB);
							break;

						default:
							System.out.println("other");
							break;
						}
					}else{
						break;
					}
				}else{
					//System.out.println("END");
					break;
				}
				//System.out.println("???");
			}

		}catch (NumberFormatException e) {
			System.out.println(e);
		} catch (IOException e) {
			System.out.println(e);
		}

	} int NumA = 0; NumA 0 int NumB = 0; NumB 0 String line = null; line null String op = null; op null try {
			//??\???????????????
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

			while (true) {
				line = br.readLine();

				if (line != null) {

					//???????????????????????????
					String[] NumList = line.split(" ", 0);

					//????????°?????£??\
					NumA = Integer.parseInt(NumList[0]);
					NumB = Integer.parseInt(NumList[2]);
					op   = NumList[1];

					//???????¢??????¨
					//System.out.println(NumA + op + NumB);

					//?????????????
					if (!op.equals("?")) {

						//????????????
						switch (op) {
						case "+":
							System.out.println(NumA + NumB);
							break;

						case "-":
							System.out.println(NumA - NumB);
							break;

						case "*":
							System.out.println(NumA * NumB);
							break;

						case "/":
							System.out.println(NumA / NumB);
							break;

						default:
							System.out.println("other");
							break;
						}
					}else{
						break;
					}
				}else{
					//System.out.println("END");
					break;
				}
				//System.out.println("???");
			}

		}catch (NumberFormatException e) {
			System.out.println(e);
		} catch (IOException e) {
			System.out.println(e);
		} catch (NumberFormatException e) {
			System.out.println(e);
		} NumberFormatException e {
			System.out.println(e);
		} System.out.println(e) System.out.println System.out System System.out e catch (IOException e) {
			System.out.println(e);
		} IOException e {
			System.out.println(e);
		} System.out.println(e) System.out.println System.out System System.out e {
			//??\???????????????
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

			while (true) {
				line = br.readLine();

				if (line != null) {

					//???????????????????????????
					String[] NumList = line.split(" ", 0);

					//????????°?????£??\
					NumA = Integer.parseInt(NumList[0]);
					NumB = Integer.parseInt(NumList[2]);
					op   = NumList[1];

					//???????¢??????¨
					//System.out.println(NumA + op + NumB);

					//?????????????
					if (!op.equals("?")) {

						//????????????
						switch (op) {
						case "+":
							System.out.println(NumA + NumB);
							break;

						case "-":
							System.out.println(NumA - NumB);
							break;

						case "*":
							System.out.println(NumA * NumB);
							break;

						case "/":
							System.out.println(NumA / NumB);
							break;

						default:
							System.out.println("other");
							break;
						}
					}else{
						break;
					}
				}else{
					//System.out.println("END");
					break;
				}
				//System.out.println("???");
			}

		} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) while (true) {
				line = br.readLine();

				if (line != null) {

					//???????????????????????????
					String[] NumList = line.split(" ", 0);

					//????????°?????£??\
					NumA = Integer.parseInt(NumList[0]);
					NumB = Integer.parseInt(NumList[2]);
					op   = NumList[1];

					//???????¢??????¨
					//System.out.println(NumA + op + NumB);

					//?????????????
					if (!op.equals("?")) {

						//????????????
						switch (op) {
						case "+":
							System.out.println(NumA + NumB);
							break;

						case "-":
							System.out.println(NumA - NumB);
							break;

						case "*":
							System.out.println(NumA * NumB);
							break;

						case "/":
							System.out.println(NumA / NumB);
							break;

						default:
							System.out.println("other");
							break;
						}
					}else{
						break;
					}
				}else{
					//System.out.println("END");
					break;
				}
				//System.out.println("???");
			} true {
				line = br.readLine();

				if (line != null) {

					//???????????????????????????
					String[] NumList = line.split(" ", 0);

					//????????°?????£??\
					NumA = Integer.parseInt(NumList[0]);
					NumB = Integer.parseInt(NumList[2]);
					op   = NumList[1];

					//???????¢??????¨
					//System.out.println(NumA + op + NumB);

					//?????????????
					if (!op.equals("?")) {

						//????????????
						switch (op) {
						case "+":
							System.out.println(NumA + NumB);
							break;

						case "-":
							System.out.println(NumA - NumB);
							break;

						case "*":
							System.out.println(NumA * NumB);
							break;

						case "/":
							System.out.println(NumA / NumB);
							break;

						default:
							System.out.println("other");
							break;
						}
					}else{
						break;
					}
				}else{
					//System.out.println("END");
					break;
				}
				//System.out.println("???");
			} line = br.readLine() line br.readLine() br.readLine br if (line != null) {

					//???????????????????????????
					String[] NumList = line.split(" ", 0);

					//????????°?????£??\
					NumA = Integer.parseInt(NumList[0]);
					NumB = Integer.parseInt(NumList[2]);
					op   = NumList[1];

					//???????¢??????¨
					//System.out.println(NumA + op + NumB);

					//?????????????
					if (!op.equals("?")) {

						//????????????
						switch (op) {
						case "+":
							System.out.println(NumA + NumB);
							break;

						case "-":
							System.out.println(NumA - NumB);
							break;

						case "*":
							System.out.println(NumA * NumB);
							break;

						case "/":
							System.out.println(NumA / NumB);
							break;

						default:
							System.out.println("other");
							break;
						}
					}else{
						break;
					}
				}else{
					//System.out.println("END");
					break;
				} line != null line null {

					//???????????????????????????
					String[] NumList = line.split(" ", 0);

					//????????°?????£??\
					NumA = Integer.parseInt(NumList[0]);
					NumB = Integer.parseInt(NumList[2]);
					op   = NumList[1];

					//???????¢??????¨
					//System.out.println(NumA + op + NumB);

					//?????????????
					if (!op.equals("?")) {

						//????????????
						switch (op) {
						case "+":
							System.out.println(NumA + NumB);
							break;

						case "-":
							System.out.println(NumA - NumB);
							break;

						case "*":
							System.out.println(NumA * NumB);
							break;

						case "/":
							System.out.println(NumA / NumB);
							break;

						default:
							System.out.println("other");
							break;
						}
					}else{
						break;
					}
				} String[] NumList = line.split(" ", 0); NumList line.split(" ", 0) line.split line " " 0 NumA = Integer.parseInt(NumList[0]) NumA Integer.parseInt(NumList[0]) Integer.parseInt Integer NumList[0] NumList 0 NumB = Integer.parseInt(NumList[2]) NumB Integer.parseInt(NumList[2]) Integer.parseInt Integer NumList[2] NumList 2 op   = NumList[1] op NumList[1] NumList 1 if (!op.equals("?")) {

						//????????????
						switch (op) {
						case "+":
							System.out.println(NumA + NumB);
							break;

						case "-":
							System.out.println(NumA - NumB);
							break;

						case "*":
							System.out.println(NumA * NumB);
							break;

						case "/":
							System.out.println(NumA / NumB);
							break;

						default:
							System.out.println("other");
							break;
						}
					}else{
						break;
					} !op.equals("?") op.equals("?") op.equals op "?" {

						//????????????
						switch (op) {
						case "+":
							System.out.println(NumA + NumB);
							break;

						case "-":
							System.out.println(NumA - NumB);
							break;

						case "*":
							System.out.println(NumA * NumB);
							break;

						case "/":
							System.out.println(NumA / NumB);
							break;

						default:
							System.out.println("other");
							break;
						}
					} switch (op) {
						case "+":
							System.out.println(NumA + NumB);
							break;

						case "-":
							System.out.println(NumA - NumB);
							break;

						case "*":
							System.out.println(NumA * NumB);
							break;

						case "/":
							System.out.println(NumA / NumB);
							break;

						default:
							System.out.println("other");
							break;
						} op case "+": "+" case "+": System.out.println(NumA + NumB) System.out.println System.out System System.out NumA + NumB NumA NumB break; case "-": "-" case "-": System.out.println(NumA - NumB) System.out.println System.out System System.out NumA - NumB NumA NumB break; case "*": "*" case "*": System.out.println(NumA * NumB) System.out.println System.out System System.out NumA * NumB NumA NumB break; case "/": "/" case "/": System.out.println(NumA / NumB) System.out.println System.out System System.out NumA / NumB NumA NumB break; default: default: System.out.println("other") System.out.println System.out System System.out "other" break; {
						break;
					} break; {
					//System.out.println("END");
					break;
				} break; String[] args args public class Main {

	public static void main(String[] args) {

		//?????£?????????
		int NumA = 0;
		int NumB = 0;

		String line = null;
		String op = null;

		try {
			//??\???????????????
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

			while (true) {
				line = br.readLine();

				if (line != null) {

					//???????????????????????????
					String[] NumList = line.split(" ", 0);

					//????????°?????£??\
					NumA = Integer.parseInt(NumList[0]);
					NumB = Integer.parseInt(NumList[2]);
					op   = NumList[1];

					//???????¢??????¨
					//System.out.println(NumA + op + NumB);

					//?????????????
					if (!op.equals("?")) {

						//????????????
						switch (op) {
						case "+":
							System.out.println(NumA + NumB);
							break;

						case "-":
							System.out.println(NumA - NumB);
							break;

						case "*":
							System.out.println(NumA * NumB);
							break;

						case "/":
							System.out.println(NumA / NumB);
							break;

						default:
							System.out.println("other");
							break;
						}
					}else{
						break;
					}
				}else{
					//System.out.println("END");
					break;
				}
				//System.out.println("???");
			}

		}catch (NumberFormatException e) {
			System.out.println(e);
		} catch (IOException e) {
			System.out.println(e);
		}

	}

} public class Main {

	public static void main(String[] args) {

		//?????£?????????
		int NumA = 0;
		int NumB = 0;

		String line = null;
		String op = null;

		try {
			//??\???????????????
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

			while (true) {
				line = br.readLine();

				if (line != null) {

					//???????????????????????????
					String[] NumList = line.split(" ", 0);

					//????????°?????£??\
					NumA = Integer.parseInt(NumList[0]);
					NumB = Integer.parseInt(NumList[2]);
					op   = NumList[1];

					//???????¢??????¨
					//System.out.println(NumA + op + NumB);

					//?????????????
					if (!op.equals("?")) {

						//????????????
						switch (op) {
						case "+":
							System.out.println(NumA + NumB);
							break;

						case "-":
							System.out.println(NumA - NumB);
							break;

						case "*":
							System.out.println(NumA * NumB);
							break;

						case "/":
							System.out.println(NumA / NumB);
							break;

						default:
							System.out.println("other");
							break;
						}
					}else{
						break;
					}
				}else{
					//System.out.println("END");
					break;
				}
				//System.out.println("???");
			}

		}catch (NumberFormatException e) {
			System.out.println(e);
		} catch (IOException e) {
			System.out.println(e);
		}

	}

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

public class Main {

	public static void main(String[] args) {

		//?????£?????????
		int NumA = 0;
		int NumB = 0;

		String line = null;
		String op = null;

		try {
			//??\???????????????
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

			while (true) {
				line = br.readLine();

				if (line != null) {

					//???????????????????????????
					String[] NumList = line.split(" ", 0);

					//????????°?????£??\
					NumA = Integer.parseInt(NumList[0]);
					NumB = Integer.parseInt(NumList[2]);
					op   = NumList[1];

					//???????¢??????¨
					//System.out.println(NumA + op + NumB);

					//?????????????
					if (!op.equals("?")) {

						//????????????
						switch (op) {
						case "+":
							System.out.println(NumA + NumB);
							break;

						case "-":
							System.out.println(NumA - NumB);
							break;

						case "*":
							System.out.println(NumA * NumB);
							break;

						case "/":
							System.out.println(NumA / NumB);
							break;

						default:
							System.out.println("other");
							break;
						}
					}else{
						break;
					}
				}else{
					//System.out.println("END");
					break;
				}
				//System.out.println("???");
			}

		}catch (NumberFormatException e) {
			System.out.println(e);
		} catch (IOException e) {
			System.out.println(e);
		}

	}

}