import java.util.Scanner;

class Main {

	public static void main(String[] args) {

		int a,b;
		char op;

		Scanner stdIn = new Scanner(System.in);


		while(true) {
			a = stdIn.nextInt();
			op = stdIn.next().charAt(0);
			b = stdIn.nextInt();

			switch(op) {
			case '+':
				System.out.println(a+b);
				break;
			case '-':
				System.out.println(a-b);
				break;
			case '*':
				System.out.println(a*b);
				break;
			case '/':
				System.out.println(a/b);
				break;
			case '?':
				System.exit(0);
			}
		}

	}

} import java.util.Scanner; Scanner java.util class Main {

	public static void main(String[] args) {

		int a,b;
		char op;

		Scanner stdIn = new Scanner(System.in);


		while(true) {
			a = stdIn.nextInt();
			op = stdIn.next().charAt(0);
			b = stdIn.nextInt();

			switch(op) {
			case '+':
				System.out.println(a+b);
				break;
			case '-':
				System.out.println(a-b);
				break;
			case '*':
				System.out.println(a*b);
				break;
			case '/':
				System.out.println(a/b);
				break;
			case '?':
				System.exit(0);
			}
		}

	}

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

		int a,b;
		char op;

		Scanner stdIn = new Scanner(System.in);


		while(true) {
			a = stdIn.nextInt();
			op = stdIn.next().charAt(0);
			b = stdIn.nextInt();

			switch(op) {
			case '+':
				System.out.println(a+b);
				break;
			case '-':
				System.out.println(a-b);
				break;
			case '*':
				System.out.println(a*b);
				break;
			case '/':
				System.out.println(a/b);
				break;
			case '?':
				System.exit(0);
			}
		}

	} main {

		int a,b;
		char op;

		Scanner stdIn = new Scanner(System.in);


		while(true) {
			a = stdIn.nextInt();
			op = stdIn.next().charAt(0);
			b = stdIn.nextInt();

			switch(op) {
			case '+':
				System.out.println(a+b);
				break;
			case '-':
				System.out.println(a-b);
				break;
			case '*':
				System.out.println(a*b);
				break;
			case '/':
				System.out.println(a/b);
				break;
			case '?':
				System.exit(0);
			}
		}

	} int a a b; b char op; op Scanner stdIn = new Scanner(System.in); stdIn new Scanner(System.in) while(true) {
			a = stdIn.nextInt();
			op = stdIn.next().charAt(0);
			b = stdIn.nextInt();

			switch(op) {
			case '+':
				System.out.println(a+b);
				break;
			case '-':
				System.out.println(a-b);
				break;
			case '*':
				System.out.println(a*b);
				break;
			case '/':
				System.out.println(a/b);
				break;
			case '?':
				System.exit(0);
			}
		} true {
			a = stdIn.nextInt();
			op = stdIn.next().charAt(0);
			b = stdIn.nextInt();

			switch(op) {
			case '+':
				System.out.println(a+b);
				break;
			case '-':
				System.out.println(a-b);
				break;
			case '*':
				System.out.println(a*b);
				break;
			case '/':
				System.out.println(a/b);
				break;
			case '?':
				System.exit(0);
			}
		} a = stdIn.nextInt() a stdIn.nextInt() stdIn.nextInt stdIn op = stdIn.next().charAt(0) op stdIn.next().charAt(0) stdIn.next().charAt stdIn.next() stdIn.next stdIn 0 b = stdIn.nextInt() b stdIn.nextInt() stdIn.nextInt stdIn switch(op) {
			case '+':
				System.out.println(a+b);
				break;
			case '-':
				System.out.println(a-b);
				break;
			case '*':
				System.out.println(a*b);
				break;
			case '/':
				System.out.println(a/b);
				break;
			case '?':
				System.exit(0);
			} op case '+': '+' case '+': System.out.println(a+b) System.out.println System.out System System.out a+b a b break; case '-': '-' case '-': System.out.println(a-b) System.out.println System.out System System.out a-b a b break; case '*': '*' case '*': System.out.println(a*b) System.out.println System.out System System.out a*b a b break; case '/': '/' case '/': System.out.println(a/b) System.out.println System.out System System.out a/b a b break; case '?': '?' case '?': System.exit(0) System.exit System 0 String[] args args
import java.util.Scanner;

class Main {

	public static void main(String[] args) {

		int a,b;
		char op;

		Scanner stdIn = new Scanner(System.in);


		while(true) {
			a = stdIn.nextInt();
			op = stdIn.next().charAt(0);
			b = stdIn.nextInt();

			switch(op) {
			case '+':
				System.out.println(a+b);
				break;
			case '-':
				System.out.println(a-b);
				break;
			case '*':
				System.out.println(a*b);
				break;
			case '/':
				System.out.println(a/b);
				break;
			case '?':
				System.exit(0);
			}
		}

	}

}