import java.util.Scanner;
class Main {
	
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		
		for(;;){		
			int a = scanner.nextInt();
			String op = scanner.next();
			int b = scanner.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 {
				break;
			}	
	    }
	}
} import java.util.Scanner; Scanner java.util class Main {
	
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		
		for(;;){		
			int a = scanner.nextInt();
			String op = scanner.next();
			int b = scanner.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 {
				break;
			}	
	    }
	}
} Main public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		
		for(;;){		
			int a = scanner.nextInt();
			String op = scanner.next();
			int b = scanner.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 {
				break;
			}	
	    }
	} main {
		Scanner scanner = new Scanner(System.in);
		
		for(;;){		
			int a = scanner.nextInt();
			String op = scanner.next();
			int b = scanner.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 {
				break;
			}	
	    }
	} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) for(;;){		
			int a = scanner.nextInt();
			String op = scanner.next();
			int b = scanner.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 {
				break;
			}	
	    } ; {		
			int a = scanner.nextInt();
			String op = scanner.next();
			int b = scanner.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 {
				break;
			}	
	    } {		
			int a = scanner.nextInt();
			String op = scanner.next();
			int b = scanner.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 {
				break;
			}	
	    } int a = scanner.nextInt(); a scanner.nextInt() scanner.nextInt scanner String op = scanner.next(); op scanner.next() scanner.next scanner int b = scanner.nextInt(); b scanner.nextInt() scanner.nextInt scanner 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 {
				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 {
				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 {
				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 {
				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 {
				break;
			} break; String[] args args
import java.util.Scanner;
class Main {
	
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		
		for(;;){		
			int a = scanner.nextInt();
			String op = scanner.next();
			int b = scanner.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 {
				break;
			}	
	    }
	}
}