import java.util.Scanner;


public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		double a;
		String op;
		double b;

		while (sc.hasNext()) {
			a = sc.nextDouble();
			op =sc.next();
			b = sc.nextDouble();
			
			if (op.equals("+")) {
				System.out.println((int)(a+b));
			}
			else if (op.equals("-")) {
				System.out.println((int)(a-b));
			}
			else if (op.equals("*")) {
				System.out.println((int)(a*b));
			}
			else if (op.equals("/")) {
				System.out.println((int)(a/b));
			}
			else if (op.equals("?")) {
				break;
			}
		}
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		double a;
		String op;
		double b;

		while (sc.hasNext()) {
			a = sc.nextDouble();
			op =sc.next();
			b = sc.nextDouble();
			
			if (op.equals("+")) {
				System.out.println((int)(a+b));
			}
			else if (op.equals("-")) {
				System.out.println((int)(a-b));
			}
			else if (op.equals("*")) {
				System.out.println((int)(a*b));
			}
			else if (op.equals("/")) {
				System.out.println((int)(a/b));
			}
			else if (op.equals("?")) {
				break;
			}
		}
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		double a;
		String op;
		double b;

		while (sc.hasNext()) {
			a = sc.nextDouble();
			op =sc.next();
			b = sc.nextDouble();
			
			if (op.equals("+")) {
				System.out.println((int)(a+b));
			}
			else if (op.equals("-")) {
				System.out.println((int)(a-b));
			}
			else if (op.equals("*")) {
				System.out.println((int)(a*b));
			}
			else if (op.equals("/")) {
				System.out.println((int)(a/b));
			}
			else if (op.equals("?")) {
				break;
			}
		}
	} main {
		Scanner sc = new Scanner(System.in);
		double a;
		String op;
		double b;

		while (sc.hasNext()) {
			a = sc.nextDouble();
			op =sc.next();
			b = sc.nextDouble();
			
			if (op.equals("+")) {
				System.out.println((int)(a+b));
			}
			else if (op.equals("-")) {
				System.out.println((int)(a-b));
			}
			else if (op.equals("*")) {
				System.out.println((int)(a*b));
			}
			else if (op.equals("/")) {
				System.out.println((int)(a/b));
			}
			else if (op.equals("?")) {
				break;
			}
		}
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) double a; a String op; op double b; b while (sc.hasNext()) {
			a = sc.nextDouble();
			op =sc.next();
			b = sc.nextDouble();
			
			if (op.equals("+")) {
				System.out.println((int)(a+b));
			}
			else if (op.equals("-")) {
				System.out.println((int)(a-b));
			}
			else if (op.equals("*")) {
				System.out.println((int)(a*b));
			}
			else if (op.equals("/")) {
				System.out.println((int)(a/b));
			}
			else if (op.equals("?")) {
				break;
			}
		} sc.hasNext() sc.hasNext sc {
			a = sc.nextDouble();
			op =sc.next();
			b = sc.nextDouble();
			
			if (op.equals("+")) {
				System.out.println((int)(a+b));
			}
			else if (op.equals("-")) {
				System.out.println((int)(a-b));
			}
			else if (op.equals("*")) {
				System.out.println((int)(a*b));
			}
			else if (op.equals("/")) {
				System.out.println((int)(a/b));
			}
			else if (op.equals("?")) {
				break;
			}
		} a = sc.nextDouble() a sc.nextDouble() sc.nextDouble sc op =sc.next() op sc.next() sc.next sc b = sc.nextDouble() b sc.nextDouble() sc.nextDouble sc if (op.equals("+")) {
				System.out.println((int)(a+b));
			}
			else if (op.equals("-")) {
				System.out.println((int)(a-b));
			}
			else if (op.equals("*")) {
				System.out.println((int)(a*b));
			}
			else if (op.equals("/")) {
				System.out.println((int)(a/b));
			}
			else if (op.equals("?")) {
				break;
			} op.equals("+") op.equals op "+" {
				System.out.println((int)(a+b));
			} System.out.println((int)(a+b)) System.out.println System.out System System.out (int)(a+b) a b if (op.equals("-")) {
				System.out.println((int)(a-b));
			}
			else if (op.equals("*")) {
				System.out.println((int)(a*b));
			}
			else if (op.equals("/")) {
				System.out.println((int)(a/b));
			}
			else if (op.equals("?")) {
				break;
			} op.equals("-") op.equals op "-" {
				System.out.println((int)(a-b));
			} System.out.println((int)(a-b)) System.out.println System.out System System.out (int)(a-b) a b if (op.equals("*")) {
				System.out.println((int)(a*b));
			}
			else if (op.equals("/")) {
				System.out.println((int)(a/b));
			}
			else if (op.equals("?")) {
				break;
			} op.equals("*") op.equals op "*" {
				System.out.println((int)(a*b));
			} System.out.println((int)(a*b)) System.out.println System.out System System.out (int)(a*b) a b if (op.equals("/")) {
				System.out.println((int)(a/b));
			}
			else if (op.equals("?")) {
				break;
			} op.equals("/") op.equals op "/" {
				System.out.println((int)(a/b));
			} System.out.println((int)(a/b)) System.out.println System.out System System.out (int)(a/b) a b if (op.equals("?")) {
				break;
			} op.equals("?") op.equals op "?" {
				break;
			} break; String[] args args public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		double a;
		String op;
		double b;

		while (sc.hasNext()) {
			a = sc.nextDouble();
			op =sc.next();
			b = sc.nextDouble();
			
			if (op.equals("+")) {
				System.out.println((int)(a+b));
			}
			else if (op.equals("-")) {
				System.out.println((int)(a-b));
			}
			else if (op.equals("*")) {
				System.out.println((int)(a*b));
			}
			else if (op.equals("/")) {
				System.out.println((int)(a/b));
			}
			else if (op.equals("?")) {
				break;
			}
		}
	}
} public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		double a;
		String op;
		double b;

		while (sc.hasNext()) {
			a = sc.nextDouble();
			op =sc.next();
			b = sc.nextDouble();
			
			if (op.equals("+")) {
				System.out.println((int)(a+b));
			}
			else if (op.equals("-")) {
				System.out.println((int)(a-b));
			}
			else if (op.equals("*")) {
				System.out.println((int)(a*b));
			}
			else if (op.equals("/")) {
				System.out.println((int)(a/b));
			}
			else if (op.equals("?")) {
				break;
			}
		}
	}
} Main
import java.util.Scanner;


public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		double a;
		String op;
		double b;

		while (sc.hasNext()) {
			a = sc.nextDouble();
			op =sc.next();
			b = sc.nextDouble();
			
			if (op.equals("+")) {
				System.out.println((int)(a+b));
			}
			else if (op.equals("-")) {
				System.out.println((int)(a-b));
			}
			else if (op.equals("*")) {
				System.out.println((int)(a*b));
			}
			else if (op.equals("/")) {
				System.out.println((int)(a/b));
			}
			else if (op.equals("?")) {
				break;
			}
		}
	}
}