import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Main {
    public static void main(String[] args) throws Exception {
        // Your code here!
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
         String str = br.readLine();
    
        while(str != null){
        String[] tempStr = str.split("\\s");
        int n1 = Integer.parseInt(tempStr[0]);
        String op = tempStr[1];
        int n2 = Integer.parseInt(tempStr[2]);

        
            if(!(op.equals("?"))){
                int out = calc(n1,op,n2);
                System.out.println(out);
                str = br.readLine();
            }else{
                break;
            }
        }
       
    }

    public static int calc(int n1,String op,int n2){        

        if(op.equals("+")){
            int ans = n1 + n2;
            return ans;
        }

        if(op.equals("-")){
            int ans = n1 - n2;
            return ans;
        }        

        if(op.equals("*")){
            int ans = n1 * n2;
            return ans;
        }

        if(op.equals("/")){
            int ans = n1 / n2;
            return ans;
        }else{
            return 0;
        }
    }
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {
    public static void main(String[] args) throws Exception {
        // Your code here!
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
         String str = br.readLine();
    
        while(str != null){
        String[] tempStr = str.split("\\s");
        int n1 = Integer.parseInt(tempStr[0]);
        String op = tempStr[1];
        int n2 = Integer.parseInt(tempStr[2]);

        
            if(!(op.equals("?"))){
                int out = calc(n1,op,n2);
                System.out.println(out);
                str = br.readLine();
            }else{
                break;
            }
        }
       
    }

    public static int calc(int n1,String op,int n2){        

        if(op.equals("+")){
            int ans = n1 + n2;
            return ans;
        }

        if(op.equals("-")){
            int ans = n1 - n2;
            return ans;
        }        

        if(op.equals("*")){
            int ans = n1 * n2;
            return ans;
        }

        if(op.equals("/")){
            int ans = n1 / n2;
            return ans;
        }else{
            return 0;
        }
    }
} Main public static void main(String[] args) throws Exception {
        // Your code here!
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
         String str = br.readLine();
    
        while(str != null){
        String[] tempStr = str.split("\\s");
        int n1 = Integer.parseInt(tempStr[0]);
        String op = tempStr[1];
        int n2 = Integer.parseInt(tempStr[2]);

        
            if(!(op.equals("?"))){
                int out = calc(n1,op,n2);
                System.out.println(out);
                str = br.readLine();
            }else{
                break;
            }
        }
       
    } main {
        // Your code here!
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
         String str = br.readLine();
    
        while(str != null){
        String[] tempStr = str.split("\\s");
        int n1 = Integer.parseInt(tempStr[0]);
        String op = tempStr[1];
        int n2 = Integer.parseInt(tempStr[2]);

        
            if(!(op.equals("?"))){
                int out = calc(n1,op,n2);
                System.out.println(out);
                str = br.readLine();
            }else{
                break;
            }
        }
       
    } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String str = br.readLine(); str br.readLine() br.readLine br while(str != null){
        String[] tempStr = str.split("\\s");
        int n1 = Integer.parseInt(tempStr[0]);
        String op = tempStr[1];
        int n2 = Integer.parseInt(tempStr[2]);

        
            if(!(op.equals("?"))){
                int out = calc(n1,op,n2);
                System.out.println(out);
                str = br.readLine();
            }else{
                break;
            }
        } str != null str null {
        String[] tempStr = str.split("\\s");
        int n1 = Integer.parseInt(tempStr[0]);
        String op = tempStr[1];
        int n2 = Integer.parseInt(tempStr[2]);

        
            if(!(op.equals("?"))){
                int out = calc(n1,op,n2);
                System.out.println(out);
                str = br.readLine();
            }else{
                break;
            }
        } String[] tempStr = str.split("\\s"); tempStr str.split("\\s") str.split str "\\s" int n1 = Integer.parseInt(tempStr[0]); n1 Integer.parseInt(tempStr[0]) Integer.parseInt Integer tempStr[0] tempStr 0 String op = tempStr[1]; op tempStr[1] tempStr 1 int n2 = Integer.parseInt(tempStr[2]); n2 Integer.parseInt(tempStr[2]) Integer.parseInt Integer tempStr[2] tempStr 2 if(!(op.equals("?"))){
                int out = calc(n1,op,n2);
                System.out.println(out);
                str = br.readLine();
            }else{
                break;
            } !(op.equals("?")) (op.equals("?")) op.equals op "?" {
                int out = calc(n1,op,n2);
                System.out.println(out);
                str = br.readLine();
            } int out = calc(n1,op,n2); out calc(n1,op,n2) calc n1 op n2 System.out.println(out) System.out.println System.out System System.out out str = br.readLine() str br.readLine() br.readLine br {
                break;
            } break; String[] args args public static int calc(int n1,String op,int n2){        

        if(op.equals("+")){
            int ans = n1 + n2;
            return ans;
        }

        if(op.equals("-")){
            int ans = n1 - n2;
            return ans;
        }        

        if(op.equals("*")){
            int ans = n1 * n2;
            return ans;
        }

        if(op.equals("/")){
            int ans = n1 / n2;
            return ans;
        }else{
            return 0;
        }
    } calc {        

        if(op.equals("+")){
            int ans = n1 + n2;
            return ans;
        }

        if(op.equals("-")){
            int ans = n1 - n2;
            return ans;
        }        

        if(op.equals("*")){
            int ans = n1 * n2;
            return ans;
        }

        if(op.equals("/")){
            int ans = n1 / n2;
            return ans;
        }else{
            return 0;
        }
    } if(op.equals("+")){
            int ans = n1 + n2;
            return ans;
        } op.equals("+") op.equals op "+" {
            int ans = n1 + n2;
            return ans;
        } int ans = n1 + n2; ans n1 + n2 n1 n2 return ans; ans if(op.equals("-")){
            int ans = n1 - n2;
            return ans;
        } op.equals("-") op.equals op "-" {
            int ans = n1 - n2;
            return ans;
        } int ans = n1 - n2; ans n1 - n2 n1 n2 return ans; ans if(op.equals("*")){
            int ans = n1 * n2;
            return ans;
        } op.equals("*") op.equals op "*" {
            int ans = n1 * n2;
            return ans;
        } int ans = n1 * n2; ans n1 * n2 n1 n2 return ans; ans if(op.equals("/")){
            int ans = n1 / n2;
            return ans;
        }else{
            return 0;
        } op.equals("/") op.equals op "/" {
            int ans = n1 / n2;
            return ans;
        } int ans = n1 / n2; ans n1 / n2 n1 n2 return ans; ans {
            return 0;
        } return 0; 0 int n1 n1 String op op int n2 n2 public class Main {
    public static void main(String[] args) throws Exception {
        // Your code here!
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
         String str = br.readLine();
    
        while(str != null){
        String[] tempStr = str.split("\\s");
        int n1 = Integer.parseInt(tempStr[0]);
        String op = tempStr[1];
        int n2 = Integer.parseInt(tempStr[2]);

        
            if(!(op.equals("?"))){
                int out = calc(n1,op,n2);
                System.out.println(out);
                str = br.readLine();
            }else{
                break;
            }
        }
       
    }

    public static int calc(int n1,String op,int n2){        

        if(op.equals("+")){
            int ans = n1 + n2;
            return ans;
        }

        if(op.equals("-")){
            int ans = n1 - n2;
            return ans;
        }        

        if(op.equals("*")){
            int ans = n1 * n2;
            return ans;
        }

        if(op.equals("/")){
            int ans = n1 / n2;
            return ans;
        }else{
            return 0;
        }
    }
} public class Main {
    public static void main(String[] args) throws Exception {
        // Your code here!
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
         String str = br.readLine();
    
        while(str != null){
        String[] tempStr = str.split("\\s");
        int n1 = Integer.parseInt(tempStr[0]);
        String op = tempStr[1];
        int n2 = Integer.parseInt(tempStr[2]);

        
            if(!(op.equals("?"))){
                int out = calc(n1,op,n2);
                System.out.println(out);
                str = br.readLine();
            }else{
                break;
            }
        }
       
    }

    public static int calc(int n1,String op,int n2){        

        if(op.equals("+")){
            int ans = n1 + n2;
            return ans;
        }

        if(op.equals("-")){
            int ans = n1 - n2;
            return ans;
        }        

        if(op.equals("*")){
            int ans = n1 * n2;
            return ans;
        }

        if(op.equals("/")){
            int ans = n1 / n2;
            return ans;
        }else{
            return 0;
        }
    }
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Main {
    public static void main(String[] args) throws Exception {
        // Your code here!
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
         String str = br.readLine();
    
        while(str != null){
        String[] tempStr = str.split("\\s");
        int n1 = Integer.parseInt(tempStr[0]);
        String op = tempStr[1];
        int n2 = Integer.parseInt(tempStr[2]);

        
            if(!(op.equals("?"))){
                int out = calc(n1,op,n2);
                System.out.println(out);
                str = br.readLine();
            }else{
                break;
            }
        }
       
    }

    public static int calc(int n1,String op,int n2){        

        if(op.equals("+")){
            int ans = n1 + n2;
            return ans;
        }

        if(op.equals("-")){
            int ans = n1 - n2;
            return ans;
        }        

        if(op.equals("*")){
            int ans = n1 * n2;
            return ans;
        }

        if(op.equals("/")){
            int ans = n1 / n2;
            return ans;
        }else{
            return 0;
        }
    }
}