import java.util.Scanner;

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

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

} Main public static void main(String args[]){
		Scanner scan = new Scanner(System.in); 
		
		int a, b;
		String op;
		
		for(;;){
			a = scan.nextInt();
			op = scan.next();
			b = scan.nextInt();
			
			if(op.equals("+")){
				System.out.println(a + b);
			}else if(op.equals("-")){
				System.out.println(a - b);
			}else if(op.equals("/")){
				System.out.println(a / b);
			}else if(op.equals("*")){
				System.out.println(a * b);
			}else if(op.equals("?")){
				break;
			}
		}
	} main {
		Scanner scan = new Scanner(System.in); 
		
		int a, b;
		String op;
		
		for(;;){
			a = scan.nextInt();
			op = scan.next();
			b = scan.nextInt();
			
			if(op.equals("+")){
				System.out.println(a + b);
			}else if(op.equals("-")){
				System.out.println(a - b);
			}else if(op.equals("/")){
				System.out.println(a / b);
			}else if(op.equals("*")){
				System.out.println(a * b);
			}else if(op.equals("?")){
				break;
			}
		}
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int a a b; b String op; op for(;;){
			a = scan.nextInt();
			op = scan.next();
			b = scan.nextInt();
			
			if(op.equals("+")){
				System.out.println(a + b);
			}else if(op.equals("-")){
				System.out.println(a - b);
			}else if(op.equals("/")){
				System.out.println(a / b);
			}else if(op.equals("*")){
				System.out.println(a * b);
			}else if(op.equals("?")){
				break;
			}
		} ; {
			a = scan.nextInt();
			op = scan.next();
			b = scan.nextInt();
			
			if(op.equals("+")){
				System.out.println(a + b);
			}else if(op.equals("-")){
				System.out.println(a - b);
			}else if(op.equals("/")){
				System.out.println(a / b);
			}else if(op.equals("*")){
				System.out.println(a * b);
			}else if(op.equals("?")){
				break;
			}
		} {
			a = scan.nextInt();
			op = scan.next();
			b = scan.nextInt();
			
			if(op.equals("+")){
				System.out.println(a + b);
			}else if(op.equals("-")){
				System.out.println(a - b);
			}else if(op.equals("/")){
				System.out.println(a / b);
			}else if(op.equals("*")){
				System.out.println(a * b);
			}else if(op.equals("?")){
				break;
			}
		} 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("+")){
				System.out.println(a + b);
			}else if(op.equals("-")){
				System.out.println(a - b);
			}else if(op.equals("/")){
				System.out.println(a / b);
			}else if(op.equals("*")){
				System.out.println(a * b);
			}else if(op.equals("?")){
				break;
			} op.equals("+") op.equals op "+" {
				System.out.println(a + b);
			} System.out.println(a + b) System.out.println System.out System System.out a + b a b if(op.equals("-")){
				System.out.println(a - b);
			}else if(op.equals("/")){
				System.out.println(a / b);
			}else if(op.equals("*")){
				System.out.println(a * b);
			}else if(op.equals("?")){
				break;
			} op.equals("-") op.equals op "-" {
				System.out.println(a - b);
			} System.out.println(a - b) System.out.println System.out System System.out a - b a b if(op.equals("/")){
				System.out.println(a / b);
			}else if(op.equals("*")){
				System.out.println(a * b);
			}else if(op.equals("?")){
				break;
			} op.equals("/") op.equals op "/" {
				System.out.println(a / b);
			} System.out.println(a / b) System.out.println System.out System System.out a / b a b if(op.equals("*")){
				System.out.println(a * b);
			}else if(op.equals("?")){
				break;
			} op.equals("*") op.equals op "*" {
				System.out.println(a * b);
			} System.out.println(a * b) System.out.println System.out System System.out 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 scan = new Scanner(System.in); 
		
		int a, b;
		String op;
		
		for(;;){
			a = scan.nextInt();
			op = scan.next();
			b = scan.nextInt();
			
			if(op.equals("+")){
				System.out.println(a + b);
			}else if(op.equals("-")){
				System.out.println(a - b);
			}else if(op.equals("/")){
				System.out.println(a / b);
			}else if(op.equals("*")){
				System.out.println(a * b);
			}else if(op.equals("?")){
				break;
			}
		}
	}

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

} Main
import java.util.Scanner;

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

}