import java.util.Scanner;

public class Main {
    public static void main(String arg[]) {
        Scanner sc = new Scanner(System.in);
        
        
        for(int i = 1; i < 10000; i++) {
            
            int a = sc.nextInt();
            String op = sc.next();
            int b = sc.nextInt();
            //????????¢??°????????????
            if(op.equals("?")) {
                break;                
            }else if(op.equals("+") || op.equals("-") || op.equals("*") || op.equals("/")) {
                Calculator(a,op,b);
            }else {
                break;
            }
            
        }
    }
    
    public static void Calculator(int a, String op, int b) {
        if(calcJudge(a,op,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("/") && b != 0) {
                System.out.println(a / b);
            }else if(op.equals("/") && b == 0) {
                System.out.println("0??????????????????????????\????????????");
            }else {
                System.out.println("??£??????????????\????????????????????????");
            } 
        }
    }
        
    public static boolean calcJudge(int a, String op, int b) {
        if(a < 0 || b < 0 || a > 20000 || b > 20000) {
            return false;
        }else return true;
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String arg[]) {
        Scanner sc = new Scanner(System.in);
        
        
        for(int i = 1; i < 10000; i++) {
            
            int a = sc.nextInt();
            String op = sc.next();
            int b = sc.nextInt();
            //????????¢??°????????????
            if(op.equals("?")) {
                break;                
            }else if(op.equals("+") || op.equals("-") || op.equals("*") || op.equals("/")) {
                Calculator(a,op,b);
            }else {
                break;
            }
            
        }
    }
    
    public static void Calculator(int a, String op, int b) {
        if(calcJudge(a,op,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("/") && b != 0) {
                System.out.println(a / b);
            }else if(op.equals("/") && b == 0) {
                System.out.println("0??????????????????????????\????????????");
            }else {
                System.out.println("??£??????????????\????????????????????????");
            } 
        }
    }
        
    public static boolean calcJudge(int a, String op, int b) {
        if(a < 0 || b < 0 || a > 20000 || b > 20000) {
            return false;
        }else return true;
    }
} Main public static void main(String arg[]) {
        Scanner sc = new Scanner(System.in);
        
        
        for(int i = 1; i < 10000; i++) {
            
            int a = sc.nextInt();
            String op = sc.next();
            int b = sc.nextInt();
            //????????¢??°????????????
            if(op.equals("?")) {
                break;                
            }else if(op.equals("+") || op.equals("-") || op.equals("*") || op.equals("/")) {
                Calculator(a,op,b);
            }else {
                break;
            }
            
        }
    } main {
        Scanner sc = new Scanner(System.in);
        
        
        for(int i = 1; i < 10000; i++) {
            
            int a = sc.nextInt();
            String op = sc.next();
            int b = sc.nextInt();
            //????????¢??°????????????
            if(op.equals("?")) {
                break;                
            }else if(op.equals("+") || op.equals("-") || op.equals("*") || op.equals("/")) {
                Calculator(a,op,b);
            }else {
                break;
            }
            
        }
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) for(int i = 1; i < 10000; i++) {
            
            int a = sc.nextInt();
            String op = sc.next();
            int b = sc.nextInt();
            //????????¢??°????????????
            if(op.equals("?")) {
                break;                
            }else if(op.equals("+") || op.equals("-") || op.equals("*") || op.equals("/")) {
                Calculator(a,op,b);
            }else {
                break;
            }
            
        } int i = 1; int i = 1; i 1 i < 10000 i 10000 i++ i++ i {
            
            int a = sc.nextInt();
            String op = sc.next();
            int b = sc.nextInt();
            //????????¢??°????????????
            if(op.equals("?")) {
                break;                
            }else if(op.equals("+") || op.equals("-") || op.equals("*") || op.equals("/")) {
                Calculator(a,op,b);
            }else {
                break;
            }
            
        } {
            
            int a = sc.nextInt();
            String op = sc.next();
            int b = sc.nextInt();
            //????????¢??°????????????
            if(op.equals("?")) {
                break;                
            }else if(op.equals("+") || op.equals("-") || op.equals("*") || op.equals("/")) {
                Calculator(a,op,b);
            }else {
                break;
            }
            
        } int a = sc.nextInt(); a sc.nextInt() sc.nextInt sc String op = sc.next(); op sc.next() sc.next sc int b = sc.nextInt(); b sc.nextInt() sc.nextInt sc if(op.equals("?")) {
                break;                
            }else if(op.equals("+") || op.equals("-") || op.equals("*") || op.equals("/")) {
                Calculator(a,op,b);
            }else {
                break;
            } op.equals("?") op.equals op "?" {
                break;                
            } break; if(op.equals("+") || op.equals("-") || op.equals("*") || op.equals("/")) {
                Calculator(a,op,b);
            }else {
                break;
            } op.equals("+") || op.equals("-") || op.equals("*") || op.equals("/") op.equals("*") op.equals("+") || op.equals("-") || op.equals("*") || op.equals("/") op.equals("+") op.equals op "+" op.equals("-") op.equals op "-" op.equals("*") op.equals op "*" op.equals("/") op.equals op "/" {
                Calculator(a,op,b);
            } Calculator(a,op,b) Calculator a op b {
                break;
            } break; String arg[] arg public static void Calculator(int a, String op, int b) {
        if(calcJudge(a,op,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("/") && b != 0) {
                System.out.println(a / b);
            }else if(op.equals("/") && b == 0) {
                System.out.println("0??????????????????????????\????????????");
            }else {
                System.out.println("??£??????????????\????????????????????????");
            } 
        }
    } Calculator {
        if(calcJudge(a,op,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("/") && b != 0) {
                System.out.println(a / b);
            }else if(op.equals("/") && b == 0) {
                System.out.println("0??????????????????????????\????????????");
            }else {
                System.out.println("??£??????????????\????????????????????????");
            } 
        }
    } if(calcJudge(a,op,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("/") && b != 0) {
                System.out.println(a / b);
            }else if(op.equals("/") && b == 0) {
                System.out.println("0??????????????????????????\????????????");
            }else {
                System.out.println("??£??????????????\????????????????????????");
            } 
        } calcJudge(a,op,b) calcJudge a op 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("/") && b != 0) {
                System.out.println(a / b);
            }else if(op.equals("/") && b == 0) {
                System.out.println("0??????????????????????????\????????????");
            }else {
                System.out.println("??£??????????????\????????????????????????");
            } 
        } 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("/") && b != 0) {
                System.out.println(a / b);
            }else if(op.equals("/") && b == 0) {
                System.out.println("0??????????????????????????\????????????");
            }else {
                System.out.println("??£??????????????\????????????????????????");
            } 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("/") && b != 0) {
                System.out.println(a / b);
            }else if(op.equals("/") && b == 0) {
                System.out.println("0??????????????????????????\????????????");
            }else {
                System.out.println("??£??????????????\????????????????????????");
            } 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("/") && b != 0) {
                System.out.println(a / b);
            }else if(op.equals("/") && b == 0) {
                System.out.println("0??????????????????????????\????????????");
            }else {
                System.out.println("??£??????????????\????????????????????????");
            } 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("/") && b != 0) {
                System.out.println(a / b);
            }else if(op.equals("/") && b == 0) {
                System.out.println("0??????????????????????????\????????????");
            }else {
                System.out.println("??£??????????????\????????????????????????");
            } op.equals("/") && b != 0 op.equals("/") op.equals op "/" b != 0 b 0 {
                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("/") && b == 0) {
                System.out.println("0??????????????????????????\????????????");
            }else {
                System.out.println("??£??????????????\????????????????????????");
            } op.equals("/") && b == 0 op.equals("/") op.equals op "/" b == 0 b 0 {
                System.out.println("0??????????????????????????\????????????");
            } System.out.println("0??????????????????????????\????????????") System.out.println System.out System System.out "0??????????????????????????\????????????" {
                System.out.println("??£??????????????\????????????????????????");
            } System.out.println("??£??????????????\????????????????????????") System.out.println System.out System System.out "??£??????????????\????????????????????????" int a a String op op int b b public static boolean calcJudge(int a, String op, int b) {
        if(a < 0 || b < 0 || a > 20000 || b > 20000) {
            return false;
        }else return true;
    } calcJudge {
        if(a < 0 || b < 0 || a > 20000 || b > 20000) {
            return false;
        }else return true;
    } if(a < 0 || b < 0 || a > 20000 || b > 20000) {
            return false;
        }else return true; a < 0 || b < 0 || a > 20000 || b > 20000 a > 20000 a < 0 || b < 0 || a > 20000 || b > 20000 a < 0 a 0 b < 0 b 0 a > 20000 a 20000 b > 20000 b 20000 {
            return false;
        } return false; false return true; true int a a String op op int b b public class Main {
    public static void main(String arg[]) {
        Scanner sc = new Scanner(System.in);
        
        
        for(int i = 1; i < 10000; i++) {
            
            int a = sc.nextInt();
            String op = sc.next();
            int b = sc.nextInt();
            //????????¢??°????????????
            if(op.equals("?")) {
                break;                
            }else if(op.equals("+") || op.equals("-") || op.equals("*") || op.equals("/")) {
                Calculator(a,op,b);
            }else {
                break;
            }
            
        }
    }
    
    public static void Calculator(int a, String op, int b) {
        if(calcJudge(a,op,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("/") && b != 0) {
                System.out.println(a / b);
            }else if(op.equals("/") && b == 0) {
                System.out.println("0??????????????????????????\????????????");
            }else {
                System.out.println("??£??????????????\????????????????????????");
            } 
        }
    }
        
    public static boolean calcJudge(int a, String op, int b) {
        if(a < 0 || b < 0 || a > 20000 || b > 20000) {
            return false;
        }else return true;
    }
} public class Main {
    public static void main(String arg[]) {
        Scanner sc = new Scanner(System.in);
        
        
        for(int i = 1; i < 10000; i++) {
            
            int a = sc.nextInt();
            String op = sc.next();
            int b = sc.nextInt();
            //????????¢??°????????????
            if(op.equals("?")) {
                break;                
            }else if(op.equals("+") || op.equals("-") || op.equals("*") || op.equals("/")) {
                Calculator(a,op,b);
            }else {
                break;
            }
            
        }
    }
    
    public static void Calculator(int a, String op, int b) {
        if(calcJudge(a,op,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("/") && b != 0) {
                System.out.println(a / b);
            }else if(op.equals("/") && b == 0) {
                System.out.println("0??????????????????????????\????????????");
            }else {
                System.out.println("??£??????????????\????????????????????????");
            } 
        }
    }
        
    public static boolean calcJudge(int a, String op, int b) {
        if(a < 0 || b < 0 || a > 20000 || b > 20000) {
            return false;
        }else return true;
    }
} Main
import java.util.Scanner;

public class Main {
    public static void main(String arg[]) {
        Scanner sc = new Scanner(System.in);
        
        
        for(int i = 1; i < 10000; i++) {
            
            int a = sc.nextInt();
            String op = sc.next();
            int b = sc.nextInt();
            //????????¢??°????????????
            if(op.equals("?")) {
                break;                
            }else if(op.equals("+") || op.equals("-") || op.equals("*") || op.equals("/")) {
                Calculator(a,op,b);
            }else {
                break;
            }
            
        }
    }
    
    public static void Calculator(int a, String op, int b) {
        if(calcJudge(a,op,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("/") && b != 0) {
                System.out.println(a / b);
            }else if(op.equals("/") && b == 0) {
                System.out.println("0??????????????????????????\????????????");
            }else {
                System.out.println("??£??????????????\????????????????????????");
            } 
        }
    }
        
    public static boolean calcJudge(int a, String op, int b) {
        if(a < 0 || b < 0 || a > 20000 || b > 20000) {
            return false;
        }else return true;
    }
}