import java.text.DecimalFormat;
import java.util.*;

public class Main {
    public static void main(String[] args)  throws java.io.IOException{
        Scanner sc = new Scanner(System.in);
        while(true) {
            int a = sc.nextInt();
            String op = sc.next();
            int b = sc.nextInt();
            if(op.equals("?")){
                break;
            }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);
            }else if(op.equals("/")) {
                    System.out.println(a / b);
            }
        }
        sc.close();
    }
} import java.text.DecimalFormat; DecimalFormat java.text import java.util.*; util.* java public class Main {
    public static void main(String[] args)  throws java.io.IOException{
        Scanner sc = new Scanner(System.in);
        while(true) {
            int a = sc.nextInt();
            String op = sc.next();
            int b = sc.nextInt();
            if(op.equals("?")){
                break;
            }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);
            }else if(op.equals("/")) {
                    System.out.println(a / b);
            }
        }
        sc.close();
    }
} Main public static void main(String[] args)  throws java.io.IOException{
        Scanner sc = new Scanner(System.in);
        while(true) {
            int a = sc.nextInt();
            String op = sc.next();
            int b = sc.nextInt();
            if(op.equals("?")){
                break;
            }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);
            }else if(op.equals("/")) {
                    System.out.println(a / b);
            }
        }
        sc.close();
    } main {
        Scanner sc = new Scanner(System.in);
        while(true) {
            int a = sc.nextInt();
            String op = sc.next();
            int b = sc.nextInt();
            if(op.equals("?")){
                break;
            }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);
            }else if(op.equals("/")) {
                    System.out.println(a / b);
            }
        }
        sc.close();
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) while(true) {
            int a = sc.nextInt();
            String op = sc.next();
            int b = sc.nextInt();
            if(op.equals("?")){
                break;
            }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);
            }else if(op.equals("/")) {
                    System.out.println(a / b);
            }
        } true {
            int a = sc.nextInt();
            String op = sc.next();
            int b = sc.nextInt();
            if(op.equals("?")){
                break;
            }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);
            }else if(op.equals("/")) {
                    System.out.println(a / b);
            }
        } 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("+")){
                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 "?" {
                break;
            } 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 sc.close() sc.close sc String[] args args public class Main {
    public static void main(String[] args)  throws java.io.IOException{
        Scanner sc = new Scanner(System.in);
        while(true) {
            int a = sc.nextInt();
            String op = sc.next();
            int b = sc.nextInt();
            if(op.equals("?")){
                break;
            }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);
            }else if(op.equals("/")) {
                    System.out.println(a / b);
            }
        }
        sc.close();
    }
} public class Main {
    public static void main(String[] args)  throws java.io.IOException{
        Scanner sc = new Scanner(System.in);
        while(true) {
            int a = sc.nextInt();
            String op = sc.next();
            int b = sc.nextInt();
            if(op.equals("?")){
                break;
            }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);
            }else if(op.equals("/")) {
                    System.out.println(a / b);
            }
        }
        sc.close();
    }
} Main
import java.text.DecimalFormat;
import java.util.*;

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