import java.util.Scanner;

class Main {

	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);

		for(;;){

			int x = scan.nextInt();
			char ch = scan.next().charAt(0);
			if(ch == '?')
				break;
			int y = scan.nextInt();
			switch(ch){
			case '+':
				System.out.println(x + y);
				break;
			case '-':
				System.out.println(x - y);
				break;
			case '*':
				System.out.println(x * y);
				break;
			case '/':
				System.out.println(x / y);
				break;
			}
		}
	}
} import java.util.Scanner; Scanner java.util class Main {

	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);

		for(;;){

			int x = scan.nextInt();
			char ch = scan.next().charAt(0);
			if(ch == '?')
				break;
			int y = scan.nextInt();
			switch(ch){
			case '+':
				System.out.println(x + y);
				break;
			case '-':
				System.out.println(x - y);
				break;
			case '*':
				System.out.println(x * y);
				break;
			case '/':
				System.out.println(x / y);
				break;
			}
		}
	}
} Main public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);

		for(;;){

			int x = scan.nextInt();
			char ch = scan.next().charAt(0);
			if(ch == '?')
				break;
			int y = scan.nextInt();
			switch(ch){
			case '+':
				System.out.println(x + y);
				break;
			case '-':
				System.out.println(x - y);
				break;
			case '*':
				System.out.println(x * y);
				break;
			case '/':
				System.out.println(x / y);
				break;
			}
		}
	} main {

		Scanner scan = new Scanner(System.in);

		for(;;){

			int x = scan.nextInt();
			char ch = scan.next().charAt(0);
			if(ch == '?')
				break;
			int y = scan.nextInt();
			switch(ch){
			case '+':
				System.out.println(x + y);
				break;
			case '-':
				System.out.println(x - y);
				break;
			case '*':
				System.out.println(x * y);
				break;
			case '/':
				System.out.println(x / y);
				break;
			}
		}
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) for(;;){

			int x = scan.nextInt();
			char ch = scan.next().charAt(0);
			if(ch == '?')
				break;
			int y = scan.nextInt();
			switch(ch){
			case '+':
				System.out.println(x + y);
				break;
			case '-':
				System.out.println(x - y);
				break;
			case '*':
				System.out.println(x * y);
				break;
			case '/':
				System.out.println(x / y);
				break;
			}
		} ; {

			int x = scan.nextInt();
			char ch = scan.next().charAt(0);
			if(ch == '?')
				break;
			int y = scan.nextInt();
			switch(ch){
			case '+':
				System.out.println(x + y);
				break;
			case '-':
				System.out.println(x - y);
				break;
			case '*':
				System.out.println(x * y);
				break;
			case '/':
				System.out.println(x / y);
				break;
			}
		} {

			int x = scan.nextInt();
			char ch = scan.next().charAt(0);
			if(ch == '?')
				break;
			int y = scan.nextInt();
			switch(ch){
			case '+':
				System.out.println(x + y);
				break;
			case '-':
				System.out.println(x - y);
				break;
			case '*':
				System.out.println(x * y);
				break;
			case '/':
				System.out.println(x / y);
				break;
			}
		} int x = scan.nextInt(); x scan.nextInt() scan.nextInt scan char ch = scan.next().charAt(0); ch scan.next().charAt(0) scan.next().charAt scan.next() scan.next scan 0 if(ch == '?')
				break; ch == '?' ch '?' break; int y = scan.nextInt(); y scan.nextInt() scan.nextInt scan switch(ch){
			case '+':
				System.out.println(x + y);
				break;
			case '-':
				System.out.println(x - y);
				break;
			case '*':
				System.out.println(x * y);
				break;
			case '/':
				System.out.println(x / y);
				break;
			} ch case '+': '+' case '+': System.out.println(x + y) System.out.println System.out System System.out x + y x y break; case '-': '-' case '-': System.out.println(x - y) System.out.println System.out System System.out x - y x y break; case '*': '*' case '*': System.out.println(x * y) System.out.println System.out System System.out x * y x y break; case '/': '/' case '/': System.out.println(x / y) System.out.println System.out System System.out x / y x y break; String[] args args
import java.util.Scanner;

class Main {

	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);

		for(;;){

			int x = scan.nextInt();
			char ch = scan.next().charAt(0);
			if(ch == '?')
				break;
			int y = scan.nextInt();
			switch(ch){
			case '+':
				System.out.println(x + y);
				break;
			case '-':
				System.out.println(x - y);
				break;
			case '*':
				System.out.println(x * y);
				break;
			case '/':
				System.out.println(x / y);
				break;
			}
		}
	}
}