import java.util.Scanner;

public class Main {


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


        public static void main(String[] args){
    	Scanner scan = new Scanner(System.in);
    	int a, b;
    	String op;
    	while(scan.hasNext()){
        	a = scan.nextInt();
        	op = scan.next();
        	b = scan.nextInt();
    		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((a / b));
    				break;
    		}
    		if(op == "?")
    			break;
    	}
        scan.close();
    }
} public class Main {


        public static void main(String[] args){
    	Scanner scan = new Scanner(System.in);
    	int a, b;
    	String op;
    	while(scan.hasNext()){
        	a = scan.nextInt();
        	op = scan.next();
        	b = scan.nextInt();
    		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((a / b));
    				break;
    		}
    		if(op == "?")
    			break;
    	}
        scan.close();
    }
} 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;
    	while(scan.hasNext()){
        	a = scan.nextInt();
        	op = scan.next();
        	b = scan.nextInt();
    		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((a / b));
    				break;
    		}
    		if(op == "?")
    			break;
    	}
        scan.close();
    }
}