import java.util.Scanner;

/**
 * @author kawakami
 *
 */
 class  Main{

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO Auto-generated method stub
		
		Scanner as = new Scanner(System.in);
		
		int a,b;
		String op;
		
		
		
		
		while(true){
			
			a=as.nextInt();
			op=as.next();
			b=as.nextInt();
			
			if(op.equals("?")){
				break;
			}
			else{
		
				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((int)(Math.ceil(a/b)));
					break;
					
				default:
					System.out.println("Error!!");
					break;
			}
		}
		}
			
		
				
		
		

	}

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

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO Auto-generated method stub
		
		Scanner as = new Scanner(System.in);
		
		int a,b;
		String op;
		
		
		
		
		while(true){
			
			a=as.nextInt();
			op=as.next();
			b=as.nextInt();
			
			if(op.equals("?")){
				break;
			}
			else{
		
				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((int)(Math.ceil(a/b)));
					break;
					
				default:
					System.out.println("Error!!");
					break;
			}
		}
		}
			
		
				
		
		

	}

} Main /**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO Auto-generated method stub
		
		Scanner as = new Scanner(System.in);
		
		int a,b;
		String op;
		
		
		
		
		while(true){
			
			a=as.nextInt();
			op=as.next();
			b=as.nextInt();
			
			if(op.equals("?")){
				break;
			}
			else{
		
				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((int)(Math.ceil(a/b)));
					break;
					
				default:
					System.out.println("Error!!");
					break;
			}
		}
		}
			
		
				
		
		

	} main {
		// TODO Auto-generated method stub
		
		Scanner as = new Scanner(System.in);
		
		int a,b;
		String op;
		
		
		
		
		while(true){
			
			a=as.nextInt();
			op=as.next();
			b=as.nextInt();
			
			if(op.equals("?")){
				break;
			}
			else{
		
				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((int)(Math.ceil(a/b)));
					break;
					
				default:
					System.out.println("Error!!");
					break;
			}
		}
		}
			
		
				
		
		

	} Scanner as = new Scanner(System.in); as new Scanner(System.in) int a a b; b String op; op while(true){
			
			a=as.nextInt();
			op=as.next();
			b=as.nextInt();
			
			if(op.equals("?")){
				break;
			}
			else{
		
				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((int)(Math.ceil(a/b)));
					break;
					
				default:
					System.out.println("Error!!");
					break;
			}
		}
		} true {
			
			a=as.nextInt();
			op=as.next();
			b=as.nextInt();
			
			if(op.equals("?")){
				break;
			}
			else{
		
				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((int)(Math.ceil(a/b)));
					break;
					
				default:
					System.out.println("Error!!");
					break;
			}
		}
		} a=as.nextInt() a as.nextInt() as.nextInt as op=as.next() op as.next() as.next as b=as.nextInt() b as.nextInt() as.nextInt as if(op.equals("?")){
				break;
			}
			else{
		
				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((int)(Math.ceil(a/b)));
					break;
					
				default:
					System.out.println("Error!!");
					break;
			}
		} op.equals("?") op.equals op "?" {
				break;
			} break; {
		
				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((int)(Math.ceil(a/b)));
					break;
					
				default:
					System.out.println("Error!!");
					break;
			}
		} 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((int)(Math.ceil(a/b)));
					break;
					
				default:
					System.out.println("Error!!");
					break;
			} 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((int)(Math.ceil(a/b))) System.out.println System.out System System.out (int)(Math.ceil(a/b)) Math.ceil Math a/b a b break; default: default: System.out.println("Error!!") System.out.println System.out System System.out "Error!!" break; String[] args args
import java.util.Scanner;

/**
 * @author kawakami
 *
 */
 class  Main{

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO Auto-generated method stub
		
		Scanner as = new Scanner(System.in);
		
		int a,b;
		String op;
		
		
		
		
		while(true){
			
			a=as.nextInt();
			op=as.next();
			b=as.nextInt();
			
			if(op.equals("?")){
				break;
			}
			else{
		
				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((int)(Math.ceil(a/b)));
					break;
					
				default:
					System.out.println("Error!!");
					break;
			}
		}
		}
			
		
				
		
		

	}

}