import java.util.Scanner;
import java.io.*;

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

		while (true) {
			a = scan.nextInt();
			op = scan.next();
			b = scan.nextInt();

			if (op.equals("?")) break;
			
			System.out.printf("%d\n",
				  op.equals("+") ? a+b
				: op.equals("-") ? a-b
				: op.equals("*") ? a*b
								: a/b );
		}
	}
} import java.util.Scanner; Scanner java.util import java.io.*; io.* java public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int a, b;
		String op;

		while (true) {
			a = scan.nextInt();
			op = scan.next();
			b = scan.nextInt();

			if (op.equals("?")) break;
			
			System.out.printf("%d\n",
				  op.equals("+") ? a+b
				: op.equals("-") ? a-b
				: op.equals("*") ? a*b
								: a/b );
		}
	}
} Main public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int a, b;
		String op;

		while (true) {
			a = scan.nextInt();
			op = scan.next();
			b = scan.nextInt();

			if (op.equals("?")) break;
			
			System.out.printf("%d\n",
				  op.equals("+") ? a+b
				: op.equals("-") ? a-b
				: op.equals("*") ? a*b
								: a/b );
		}
	} main {
		Scanner scan = new Scanner(System.in);
		int a, b;
		String op;

		while (true) {
			a = scan.nextInt();
			op = scan.next();
			b = scan.nextInt();

			if (op.equals("?")) break;
			
			System.out.printf("%d\n",
				  op.equals("+") ? a+b
				: op.equals("-") ? a-b
				: op.equals("*") ? a*b
								: a/b );
		}
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int a a b; b String op; op while (true) {
			a = scan.nextInt();
			op = scan.next();
			b = scan.nextInt();

			if (op.equals("?")) break;
			
			System.out.printf("%d\n",
				  op.equals("+") ? a+b
				: op.equals("-") ? a-b
				: op.equals("*") ? a*b
								: a/b );
		} true {
			a = scan.nextInt();
			op = scan.next();
			b = scan.nextInt();

			if (op.equals("?")) break;
			
			System.out.printf("%d\n",
				  op.equals("+") ? a+b
				: op.equals("-") ? a-b
				: op.equals("*") ? a*b
								: a/b );
		} a = scan.nextInt() a scan.nextInt() scan.nextInt scan op = scan.next() op scan.next() scan.next scan b = scan.nextInt() b scan.nextInt() scan.nextInt scan if (op.equals("?")) break; op.equals("?") op.equals op "?" break; System.out.printf("%d\n",
				  op.equals("+") ? a+b
				: op.equals("-") ? a-b
				: op.equals("*") ? a*b
								: a/b ) System.out.printf System.out System System.out "%d\n" op.equals("+") ? a+b
				: op.equals("-") ? a-b
				: op.equals("*") ? a*b
								: a/b op.equals("+") op.equals op "+" a+b a b op.equals("-") ? a-b
				: op.equals("*") ? a*b
								: a/b op.equals("-") op.equals op "-" a-b a b op.equals("*") ? a*b
								: a/b op.equals("*") op.equals op "*" a*b a b a/b a b String[] args args public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int a, b;
		String op;

		while (true) {
			a = scan.nextInt();
			op = scan.next();
			b = scan.nextInt();

			if (op.equals("?")) break;
			
			System.out.printf("%d\n",
				  op.equals("+") ? a+b
				: op.equals("-") ? a-b
				: op.equals("*") ? a*b
								: a/b );
		}
	}
} public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int a, b;
		String op;

		while (true) {
			a = scan.nextInt();
			op = scan.next();
			b = scan.nextInt();

			if (op.equals("?")) break;
			
			System.out.printf("%d\n",
				  op.equals("+") ? a+b
				: op.equals("-") ? a-b
				: op.equals("*") ? a*b
								: a/b );
		}
	}
} Main
import java.util.Scanner;
import java.io.*;

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

		while (true) {
			a = scan.nextInt();
			op = scan.next();
			b = scan.nextInt();

			if (op.equals("?")) break;
			
			System.out.printf("%d\n",
				  op.equals("+") ? a+b
				: op.equals("-") ? a-b
				: op.equals("*") ? a*b
								: a/b );
		}
	}
}