import java.util.Scanner;
class Main{
	
	Scanner sc = new Scanner(System.in);
	int a;
	String op;
	int b;
	
	void cp3(){
		while(true){
			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();
			if(op.equals("?"))break;
		
		
		
			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);
			}
		}

	
	}
		
		public static void main(String[]agrs){
			new Main().cp3();
		}
	} import java.util.Scanner; Scanner java.util class Main{
	
	Scanner sc = new Scanner(System.in);
	int a;
	String op;
	int b;
	
	void cp3(){
		while(true){
			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();
			if(op.equals("?"))break;
		
		
		
			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);
			}
		}

	
	}
		
		public static void main(String[]agrs){
			new Main().cp3();
		}
	} Main Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int a; a String op; op int b; b void cp3(){
		while(true){
			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();
			if(op.equals("?"))break;
		
		
		
			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);
			}
		}

	
	} cp3 {
		while(true){
			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();
			if(op.equals("?"))break;
		
		
		
			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);
			}
		}

	
	} while(true){
			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();
			if(op.equals("?"))break;
		
		
		
			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);
			}
		} true {
			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();
			if(op.equals("?"))break;
		
		
		
			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);
			}
		} a = sc.nextInt() a sc.nextInt() sc.nextInt sc op = sc.next() op sc.next() sc.next sc b = sc.nextInt() b sc.nextInt() sc.nextInt sc if(op.equals("?"))break; op.equals("?") op.equals op "?" break; 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);
			} 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);
			} 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);
			} 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);
			} 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 public static void main(String[]agrs){
			new Main().cp3();
		} main {
			new Main().cp3();
		} new Main().cp3() new Main().cp3 new Main() String[]agrs agrs
import java.util.Scanner;
class Main{
	
	Scanner sc = new Scanner(System.in);
	int a;
	String op;
	int b;
	
	void cp3(){
		while(true){
			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();
			if(op.equals("?"))break;
		
		
		
			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);
			}
		}

	
	}
		
		public static void main(String[]agrs){
			new Main().cp3();
		}
	}