import java.util.*;

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

class Main{
	int a;
	String op;
	int b;
	public Main(){
	    Scanner scan = new Scanner(System.in);
		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 static void main(String[]args){
		new Main();
	}
}