import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		StringBuilder text = new StringBuilder();
		while (true) {
			String line = scan.nextLine();
			String[] elems = line.split(" ");
			int a = Integer.parseInt(elems[0]);
			String op  = elems[1];
			int b = Integer.parseInt(elems[2]);
			if (op.equals("?")) {
				scan.close();
				text.deleteCharAt(text.lastIndexOf("\n"));
				System.out.println(text.toString());
				break;
			} else {
				if(op.equals("+")){
					text.append(a + b).append("\n");
				}else if(op.equals("-")){
					text.append(a - b).append("\n");
				}else if(op.equals("*")){
					text.append(a * b).append("\n");
				}else if(op.equals("/")){
					text.append(a / b).append("\n");
				}
			}
		}
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		StringBuilder text = new StringBuilder();
		while (true) {
			String line = scan.nextLine();
			String[] elems = line.split(" ");
			int a = Integer.parseInt(elems[0]);
			String op  = elems[1];
			int b = Integer.parseInt(elems[2]);
			if (op.equals("?")) {
				scan.close();
				text.deleteCharAt(text.lastIndexOf("\n"));
				System.out.println(text.toString());
				break;
			} else {
				if(op.equals("+")){
					text.append(a + b).append("\n");
				}else if(op.equals("-")){
					text.append(a - b).append("\n");
				}else if(op.equals("*")){
					text.append(a * b).append("\n");
				}else if(op.equals("/")){
					text.append(a / b).append("\n");
				}
			}
		}
	}
} Main public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		StringBuilder text = new StringBuilder();
		while (true) {
			String line = scan.nextLine();
			String[] elems = line.split(" ");
			int a = Integer.parseInt(elems[0]);
			String op  = elems[1];
			int b = Integer.parseInt(elems[2]);
			if (op.equals("?")) {
				scan.close();
				text.deleteCharAt(text.lastIndexOf("\n"));
				System.out.println(text.toString());
				break;
			} else {
				if(op.equals("+")){
					text.append(a + b).append("\n");
				}else if(op.equals("-")){
					text.append(a - b).append("\n");
				}else if(op.equals("*")){
					text.append(a * b).append("\n");
				}else if(op.equals("/")){
					text.append(a / b).append("\n");
				}
			}
		}
	} main {
		Scanner scan = new Scanner(System.in);
		StringBuilder text = new StringBuilder();
		while (true) {
			String line = scan.nextLine();
			String[] elems = line.split(" ");
			int a = Integer.parseInt(elems[0]);
			String op  = elems[1];
			int b = Integer.parseInt(elems[2]);
			if (op.equals("?")) {
				scan.close();
				text.deleteCharAt(text.lastIndexOf("\n"));
				System.out.println(text.toString());
				break;
			} else {
				if(op.equals("+")){
					text.append(a + b).append("\n");
				}else if(op.equals("-")){
					text.append(a - b).append("\n");
				}else if(op.equals("*")){
					text.append(a * b).append("\n");
				}else if(op.equals("/")){
					text.append(a / b).append("\n");
				}
			}
		}
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) StringBuilder text = new StringBuilder(); text new StringBuilder() while (true) {
			String line = scan.nextLine();
			String[] elems = line.split(" ");
			int a = Integer.parseInt(elems[0]);
			String op  = elems[1];
			int b = Integer.parseInt(elems[2]);
			if (op.equals("?")) {
				scan.close();
				text.deleteCharAt(text.lastIndexOf("\n"));
				System.out.println(text.toString());
				break;
			} else {
				if(op.equals("+")){
					text.append(a + b).append("\n");
				}else if(op.equals("-")){
					text.append(a - b).append("\n");
				}else if(op.equals("*")){
					text.append(a * b).append("\n");
				}else if(op.equals("/")){
					text.append(a / b).append("\n");
				}
			}
		} true {
			String line = scan.nextLine();
			String[] elems = line.split(" ");
			int a = Integer.parseInt(elems[0]);
			String op  = elems[1];
			int b = Integer.parseInt(elems[2]);
			if (op.equals("?")) {
				scan.close();
				text.deleteCharAt(text.lastIndexOf("\n"));
				System.out.println(text.toString());
				break;
			} else {
				if(op.equals("+")){
					text.append(a + b).append("\n");
				}else if(op.equals("-")){
					text.append(a - b).append("\n");
				}else if(op.equals("*")){
					text.append(a * b).append("\n");
				}else if(op.equals("/")){
					text.append(a / b).append("\n");
				}
			}
		} String line = scan.nextLine(); line scan.nextLine() scan.nextLine scan String[] elems = line.split(" "); elems line.split(" ") line.split line " " int a = Integer.parseInt(elems[0]); a Integer.parseInt(elems[0]) Integer.parseInt Integer elems[0] elems 0 String op  = elems[1]; op elems[1] elems 1 int b = Integer.parseInt(elems[2]); b Integer.parseInt(elems[2]) Integer.parseInt Integer elems[2] elems 2 if (op.equals("?")) {
				scan.close();
				text.deleteCharAt(text.lastIndexOf("\n"));
				System.out.println(text.toString());
				break;
			} else {
				if(op.equals("+")){
					text.append(a + b).append("\n");
				}else if(op.equals("-")){
					text.append(a - b).append("\n");
				}else if(op.equals("*")){
					text.append(a * b).append("\n");
				}else if(op.equals("/")){
					text.append(a / b).append("\n");
				}
			} op.equals("?") op.equals op "?" {
				scan.close();
				text.deleteCharAt(text.lastIndexOf("\n"));
				System.out.println(text.toString());
				break;
			} scan.close() scan.close scan text.deleteCharAt(text.lastIndexOf("\n")) text.deleteCharAt text text.lastIndexOf("\n") text.lastIndexOf text "\n" System.out.println(text.toString()) System.out.println System.out System System.out text.toString() text.toString text break; {
				if(op.equals("+")){
					text.append(a + b).append("\n");
				}else if(op.equals("-")){
					text.append(a - b).append("\n");
				}else if(op.equals("*")){
					text.append(a * b).append("\n");
				}else if(op.equals("/")){
					text.append(a / b).append("\n");
				}
			} if(op.equals("+")){
					text.append(a + b).append("\n");
				}else if(op.equals("-")){
					text.append(a - b).append("\n");
				}else if(op.equals("*")){
					text.append(a * b).append("\n");
				}else if(op.equals("/")){
					text.append(a / b).append("\n");
				} op.equals("+") op.equals op "+" {
					text.append(a + b).append("\n");
				} text.append(a + b).append("\n") text.append(a + b).append text.append(a + b) text.append text a + b a b "\n" if(op.equals("-")){
					text.append(a - b).append("\n");
				}else if(op.equals("*")){
					text.append(a * b).append("\n");
				}else if(op.equals("/")){
					text.append(a / b).append("\n");
				} op.equals("-") op.equals op "-" {
					text.append(a - b).append("\n");
				} text.append(a - b).append("\n") text.append(a - b).append text.append(a - b) text.append text a - b a b "\n" if(op.equals("*")){
					text.append(a * b).append("\n");
				}else if(op.equals("/")){
					text.append(a / b).append("\n");
				} op.equals("*") op.equals op "*" {
					text.append(a * b).append("\n");
				} text.append(a * b).append("\n") text.append(a * b).append text.append(a * b) text.append text a * b a b "\n" if(op.equals("/")){
					text.append(a / b).append("\n");
				} op.equals("/") op.equals op "/" {
					text.append(a / b).append("\n");
				} text.append(a / b).append("\n") text.append(a / b).append text.append(a / b) text.append text a / b a b "\n" String[] args args public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		StringBuilder text = new StringBuilder();
		while (true) {
			String line = scan.nextLine();
			String[] elems = line.split(" ");
			int a = Integer.parseInt(elems[0]);
			String op  = elems[1];
			int b = Integer.parseInt(elems[2]);
			if (op.equals("?")) {
				scan.close();
				text.deleteCharAt(text.lastIndexOf("\n"));
				System.out.println(text.toString());
				break;
			} else {
				if(op.equals("+")){
					text.append(a + b).append("\n");
				}else if(op.equals("-")){
					text.append(a - b).append("\n");
				}else if(op.equals("*")){
					text.append(a * b).append("\n");
				}else if(op.equals("/")){
					text.append(a / b).append("\n");
				}
			}
		}
	}
} public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		StringBuilder text = new StringBuilder();
		while (true) {
			String line = scan.nextLine();
			String[] elems = line.split(" ");
			int a = Integer.parseInt(elems[0]);
			String op  = elems[1];
			int b = Integer.parseInt(elems[2]);
			if (op.equals("?")) {
				scan.close();
				text.deleteCharAt(text.lastIndexOf("\n"));
				System.out.println(text.toString());
				break;
			} else {
				if(op.equals("+")){
					text.append(a + b).append("\n");
				}else if(op.equals("-")){
					text.append(a - b).append("\n");
				}else if(op.equals("*")){
					text.append(a * b).append("\n");
				}else if(op.equals("/")){
					text.append(a / b).append("\n");
				}
			}
		}
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		StringBuilder text = new StringBuilder();
		while (true) {
			String line = scan.nextLine();
			String[] elems = line.split(" ");
			int a = Integer.parseInt(elems[0]);
			String op  = elems[1];
			int b = Integer.parseInt(elems[2]);
			if (op.equals("?")) {
				scan.close();
				text.deleteCharAt(text.lastIndexOf("\n"));
				System.out.println(text.toString());
				break;
			} else {
				if(op.equals("+")){
					text.append(a + b).append("\n");
				}else if(op.equals("-")){
					text.append(a - b).append("\n");
				}else if(op.equals("*")){
					text.append(a * b).append("\n");
				}else if(op.equals("/")){
					text.append(a / b).append("\n");
				}
			}
		}
	}
}