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

public class Main {
    public static void main(String[] args) throws Exception {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        
        String line;
        while ((line = br.readLine()) != null) {
        
            String ary[] = line.split(" ");
            int num1 = Integer.parseInt(ary[0]);
            String op = ary[1];
            int num2 = Integer.parseInt(ary[2]);
            
            if(op.equals("?")){
                break;
            }
            
            switch (op) {
                case "+":
                    System.out.println(num1 + num2);
                    break;
                case "-":
                    System.out.println(num1 - num2);
                    break;
                case "*":
                    System.out.println(num1 * num2);
                    break;
                case "/":
                    System.out.println(num1 / num2);
                    break;
            }
        }
    }
} 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 {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        
        String line;
        while ((line = br.readLine()) != null) {
        
            String ary[] = line.split(" ");
            int num1 = Integer.parseInt(ary[0]);
            String op = ary[1];
            int num2 = Integer.parseInt(ary[2]);
            
            if(op.equals("?")){
                break;
            }
            
            switch (op) {
                case "+":
                    System.out.println(num1 + num2);
                    break;
                case "-":
                    System.out.println(num1 - num2);
                    break;
                case "*":
                    System.out.println(num1 * num2);
                    break;
                case "/":
                    System.out.println(num1 / num2);
                    break;
            }
        }
    }
} Main public static void main(String[] args) throws Exception {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        
        String line;
        while ((line = br.readLine()) != null) {
        
            String ary[] = line.split(" ");
            int num1 = Integer.parseInt(ary[0]);
            String op = ary[1];
            int num2 = Integer.parseInt(ary[2]);
            
            if(op.equals("?")){
                break;
            }
            
            switch (op) {
                case "+":
                    System.out.println(num1 + num2);
                    break;
                case "-":
                    System.out.println(num1 - num2);
                    break;
                case "*":
                    System.out.println(num1 * num2);
                    break;
                case "/":
                    System.out.println(num1 / num2);
                    break;
            }
        }
    } main {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        
        String line;
        while ((line = br.readLine()) != null) {
        
            String ary[] = line.split(" ");
            int num1 = Integer.parseInt(ary[0]);
            String op = ary[1];
            int num2 = Integer.parseInt(ary[2]);
            
            if(op.equals("?")){
                break;
            }
            
            switch (op) {
                case "+":
                    System.out.println(num1 + num2);
                    break;
                case "-":
                    System.out.println(num1 - num2);
                    break;
                case "*":
                    System.out.println(num1 * num2);
                    break;
                case "/":
                    System.out.println(num1 / num2);
                    break;
            }
        }
    } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String line; line while ((line = br.readLine()) != null) {
        
            String ary[] = line.split(" ");
            int num1 = Integer.parseInt(ary[0]);
            String op = ary[1];
            int num2 = Integer.parseInt(ary[2]);
            
            if(op.equals("?")){
                break;
            }
            
            switch (op) {
                case "+":
                    System.out.println(num1 + num2);
                    break;
                case "-":
                    System.out.println(num1 - num2);
                    break;
                case "*":
                    System.out.println(num1 * num2);
                    break;
                case "/":
                    System.out.println(num1 / num2);
                    break;
            }
        } (line = br.readLine()) != null (line = br.readLine()) line br.readLine() br.readLine br null {
        
            String ary[] = line.split(" ");
            int num1 = Integer.parseInt(ary[0]);
            String op = ary[1];
            int num2 = Integer.parseInt(ary[2]);
            
            if(op.equals("?")){
                break;
            }
            
            switch (op) {
                case "+":
                    System.out.println(num1 + num2);
                    break;
                case "-":
                    System.out.println(num1 - num2);
                    break;
                case "*":
                    System.out.println(num1 * num2);
                    break;
                case "/":
                    System.out.println(num1 / num2);
                    break;
            }
        } String ary[] = line.split(" "); ary line.split(" ") line.split line " " int num1 = Integer.parseInt(ary[0]); num1 Integer.parseInt(ary[0]) Integer.parseInt Integer ary[0] ary 0 String op = ary[1]; op ary[1] ary 1 int num2 = Integer.parseInt(ary[2]); num2 Integer.parseInt(ary[2]) Integer.parseInt Integer ary[2] ary 2 if(op.equals("?")){
                break;
            } op.equals("?") op.equals op "?" {
                break;
            } break; switch (op) {
                case "+":
                    System.out.println(num1 + num2);
                    break;
                case "-":
                    System.out.println(num1 - num2);
                    break;
                case "*":
                    System.out.println(num1 * num2);
                    break;
                case "/":
                    System.out.println(num1 / num2);
                    break;
            } op case "+": "+" case "+": System.out.println(num1 + num2) System.out.println System.out System System.out num1 + num2 num1 num2 break; case "-": "-" case "-": System.out.println(num1 - num2) System.out.println System.out System System.out num1 - num2 num1 num2 break; case "*": "*" case "*": System.out.println(num1 * num2) System.out.println System.out System System.out num1 * num2 num1 num2 break; case "/": "/" case "/": System.out.println(num1 / num2) System.out.println System.out System System.out num1 / num2 num1 num2 break; String[] args args public class Main {
    public static void main(String[] args) throws Exception {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        
        String line;
        while ((line = br.readLine()) != null) {
        
            String ary[] = line.split(" ");
            int num1 = Integer.parseInt(ary[0]);
            String op = ary[1];
            int num2 = Integer.parseInt(ary[2]);
            
            if(op.equals("?")){
                break;
            }
            
            switch (op) {
                case "+":
                    System.out.println(num1 + num2);
                    break;
                case "-":
                    System.out.println(num1 - num2);
                    break;
                case "*":
                    System.out.println(num1 * num2);
                    break;
                case "/":
                    System.out.println(num1 / num2);
                    break;
            }
        }
    }
} public class Main {
    public static void main(String[] args) throws Exception {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        
        String line;
        while ((line = br.readLine()) != null) {
        
            String ary[] = line.split(" ");
            int num1 = Integer.parseInt(ary[0]);
            String op = ary[1];
            int num2 = Integer.parseInt(ary[2]);
            
            if(op.equals("?")){
                break;
            }
            
            switch (op) {
                case "+":
                    System.out.println(num1 + num2);
                    break;
                case "-":
                    System.out.println(num1 - num2);
                    break;
                case "*":
                    System.out.println(num1 * num2);
                    break;
                case "/":
                    System.out.println(num1 / num2);
                    break;
            }
        }
    }
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Main {
    public static void main(String[] args) throws Exception {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        
        String line;
        while ((line = br.readLine()) != null) {
        
            String ary[] = line.split(" ");
            int num1 = Integer.parseInt(ary[0]);
            String op = ary[1];
            int num2 = Integer.parseInt(ary[2]);
            
            if(op.equals("?")){
                break;
            }
            
            switch (op) {
                case "+":
                    System.out.println(num1 + num2);
                    break;
                case "-":
                    System.out.println(num1 - num2);
                    break;
                case "*":
                    System.out.println(num1 * num2);
                    break;
                case "/":
                    System.out.println(num1 / num2);
                    break;
            }
        }
    }
}