import java.io.IOException;
import java.util.Scanner;

public class Main {

	public static void main(String[] args)throws IOException {
		Scanner sc = new Scanner(System.in);
		
		while(true){
			
			int a = sc.nextInt();
			String op = sc.next();
			char o = op.charAt(0);
			int b = sc.nextInt();

		if(o == '?'){
			break;
		}
		else if(o == '-'){
			System.out.println(a - b);
		}
		else if(o == '*'){
			System.out.println(a * b);
		}
		else if(o == '/'){
			System.out.println(a / b);
		}
		else if(o == '+'){
			System.out.println(a + b);
		}
		
		}sc.close();
	}
} import java.io.IOException; IOException java.io import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args)throws IOException {
		Scanner sc = new Scanner(System.in);
		
		while(true){
			
			int a = sc.nextInt();
			String op = sc.next();
			char o = op.charAt(0);
			int b = sc.nextInt();

		if(o == '?'){
			break;
		}
		else if(o == '-'){
			System.out.println(a - b);
		}
		else if(o == '*'){
			System.out.println(a * b);
		}
		else if(o == '/'){
			System.out.println(a / b);
		}
		else if(o == '+'){
			System.out.println(a + b);
		}
		
		}sc.close();
	}
} Main public static void main(String[] args)throws IOException {
		Scanner sc = new Scanner(System.in);
		
		while(true){
			
			int a = sc.nextInt();
			String op = sc.next();
			char o = op.charAt(0);
			int b = sc.nextInt();

		if(o == '?'){
			break;
		}
		else if(o == '-'){
			System.out.println(a - b);
		}
		else if(o == '*'){
			System.out.println(a * b);
		}
		else if(o == '/'){
			System.out.println(a / b);
		}
		else if(o == '+'){
			System.out.println(a + b);
		}
		
		}sc.close();
	} main {
		Scanner sc = new Scanner(System.in);
		
		while(true){
			
			int a = sc.nextInt();
			String op = sc.next();
			char o = op.charAt(0);
			int b = sc.nextInt();

		if(o == '?'){
			break;
		}
		else if(o == '-'){
			System.out.println(a - b);
		}
		else if(o == '*'){
			System.out.println(a * b);
		}
		else if(o == '/'){
			System.out.println(a / b);
		}
		else if(o == '+'){
			System.out.println(a + b);
		}
		
		}sc.close();
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) while(true){
			
			int a = sc.nextInt();
			String op = sc.next();
			char o = op.charAt(0);
			int b = sc.nextInt();

		if(o == '?'){
			break;
		}
		else if(o == '-'){
			System.out.println(a - b);
		}
		else if(o == '*'){
			System.out.println(a * b);
		}
		else if(o == '/'){
			System.out.println(a / b);
		}
		else if(o == '+'){
			System.out.println(a + b);
		}
		
		} true {
			
			int a = sc.nextInt();
			String op = sc.next();
			char o = op.charAt(0);
			int b = sc.nextInt();

		if(o == '?'){
			break;
		}
		else if(o == '-'){
			System.out.println(a - b);
		}
		else if(o == '*'){
			System.out.println(a * b);
		}
		else if(o == '/'){
			System.out.println(a / b);
		}
		else if(o == '+'){
			System.out.println(a + b);
		}
		
		} int a = sc.nextInt(); a sc.nextInt() sc.nextInt sc String op = sc.next(); op sc.next() sc.next sc char o = op.charAt(0); o op.charAt(0) op.charAt op 0 int b = sc.nextInt(); b sc.nextInt() sc.nextInt sc if(o == '?'){
			break;
		}
		else if(o == '-'){
			System.out.println(a - b);
		}
		else if(o == '*'){
			System.out.println(a * b);
		}
		else if(o == '/'){
			System.out.println(a / b);
		}
		else if(o == '+'){
			System.out.println(a + b);
		} o == '?' o '?' {
			break;
		} break; if(o == '-'){
			System.out.println(a - b);
		}
		else if(o == '*'){
			System.out.println(a * b);
		}
		else if(o == '/'){
			System.out.println(a / b);
		}
		else if(o == '+'){
			System.out.println(a + b);
		} o == '-' o '-' {
			System.out.println(a - b);
		} System.out.println(a - b) System.out.println System.out System System.out a - b a b if(o == '*'){
			System.out.println(a * b);
		}
		else if(o == '/'){
			System.out.println(a / b);
		}
		else if(o == '+'){
			System.out.println(a + b);
		} o == '*' o '*' {
			System.out.println(a * b);
		} System.out.println(a * b) System.out.println System.out System System.out a * b a b if(o == '/'){
			System.out.println(a / b);
		}
		else if(o == '+'){
			System.out.println(a + b);
		} o == '/' o '/' {
			System.out.println(a / b);
		} System.out.println(a / b) System.out.println System.out System System.out a / b a b if(o == '+'){
			System.out.println(a + b);
		} o == '+' o '+' {
			System.out.println(a + b);
		} System.out.println(a + b) System.out.println System.out System System.out a + b a b sc.close() sc.close sc String[] args args public class Main {

	public static void main(String[] args)throws IOException {
		Scanner sc = new Scanner(System.in);
		
		while(true){
			
			int a = sc.nextInt();
			String op = sc.next();
			char o = op.charAt(0);
			int b = sc.nextInt();

		if(o == '?'){
			break;
		}
		else if(o == '-'){
			System.out.println(a - b);
		}
		else if(o == '*'){
			System.out.println(a * b);
		}
		else if(o == '/'){
			System.out.println(a / b);
		}
		else if(o == '+'){
			System.out.println(a + b);
		}
		
		}sc.close();
	}
} public class Main {

	public static void main(String[] args)throws IOException {
		Scanner sc = new Scanner(System.in);
		
		while(true){
			
			int a = sc.nextInt();
			String op = sc.next();
			char o = op.charAt(0);
			int b = sc.nextInt();

		if(o == '?'){
			break;
		}
		else if(o == '-'){
			System.out.println(a - b);
		}
		else if(o == '*'){
			System.out.println(a * b);
		}
		else if(o == '/'){
			System.out.println(a / b);
		}
		else if(o == '+'){
			System.out.println(a + b);
		}
		
		}sc.close();
	}
} Main
import java.io.IOException;
import java.util.Scanner;

public class Main {

	public static void main(String[] args)throws IOException {
		Scanner sc = new Scanner(System.in);
		
		while(true){
			
			int a = sc.nextInt();
			String op = sc.next();
			char o = op.charAt(0);
			int b = sc.nextInt();

		if(o == '?'){
			break;
		}
		else if(o == '-'){
			System.out.println(a - b);
		}
		else if(o == '*'){
			System.out.println(a * b);
		}
		else if(o == '/'){
			System.out.println(a / b);
		}
		else if(o == '+'){
			System.out.println(a + b);
		}
		
		}sc.close();
	}
}