import java.util.*;

public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);

        while (true) {
            int a = scan.nextInt();
            String operator = scan.next();
            int b = scan.nextInt();
            int ans = 0;
            if (operator.equals("?")) {
                break;
            }

            switch (operator) {
                case "+":
                    ans = a + b;
                    break;
                case "-":
                    ans = a - b;
                    break;
                case "*":
                    ans = a * b;
                    break;
                case "/":
                    ans = a / b;
                    break;
            }
            System.out.println(ans);
        }
    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);

        while (true) {
            int a = scan.nextInt();
            String operator = scan.next();
            int b = scan.nextInt();
            int ans = 0;
            if (operator.equals("?")) {
                break;
            }

            switch (operator) {
                case "+":
                    ans = a + b;
                    break;
                case "-":
                    ans = a - b;
                    break;
                case "*":
                    ans = a * b;
                    break;
                case "/":
                    ans = a / b;
                    break;
            }
            System.out.println(ans);
        }
    }
} Main public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);

        while (true) {
            int a = scan.nextInt();
            String operator = scan.next();
            int b = scan.nextInt();
            int ans = 0;
            if (operator.equals("?")) {
                break;
            }

            switch (operator) {
                case "+":
                    ans = a + b;
                    break;
                case "-":
                    ans = a - b;
                    break;
                case "*":
                    ans = a * b;
                    break;
                case "/":
                    ans = a / b;
                    break;
            }
            System.out.println(ans);
        }
    } main {
        Scanner scan = new Scanner(System.in);

        while (true) {
            int a = scan.nextInt();
            String operator = scan.next();
            int b = scan.nextInt();
            int ans = 0;
            if (operator.equals("?")) {
                break;
            }

            switch (operator) {
                case "+":
                    ans = a + b;
                    break;
                case "-":
                    ans = a - b;
                    break;
                case "*":
                    ans = a * b;
                    break;
                case "/":
                    ans = a / b;
                    break;
            }
            System.out.println(ans);
        }
    } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) while (true) {
            int a = scan.nextInt();
            String operator = scan.next();
            int b = scan.nextInt();
            int ans = 0;
            if (operator.equals("?")) {
                break;
            }

            switch (operator) {
                case "+":
                    ans = a + b;
                    break;
                case "-":
                    ans = a - b;
                    break;
                case "*":
                    ans = a * b;
                    break;
                case "/":
                    ans = a / b;
                    break;
            }
            System.out.println(ans);
        } true {
            int a = scan.nextInt();
            String operator = scan.next();
            int b = scan.nextInt();
            int ans = 0;
            if (operator.equals("?")) {
                break;
            }

            switch (operator) {
                case "+":
                    ans = a + b;
                    break;
                case "-":
                    ans = a - b;
                    break;
                case "*":
                    ans = a * b;
                    break;
                case "/":
                    ans = a / b;
                    break;
            }
            System.out.println(ans);
        } int a = scan.nextInt(); a scan.nextInt() scan.nextInt scan String operator = scan.next(); operator scan.next() scan.next scan int b = scan.nextInt(); b scan.nextInt() scan.nextInt scan int ans = 0; ans 0 if (operator.equals("?")) {
                break;
            } operator.equals("?") operator.equals operator "?" {
                break;
            } break; switch (operator) {
                case "+":
                    ans = a + b;
                    break;
                case "-":
                    ans = a - b;
                    break;
                case "*":
                    ans = a * b;
                    break;
                case "/":
                    ans = a / b;
                    break;
            } operator case "+": "+" case "+": ans = a + b ans a + b a b break; case "-": "-" case "-": ans = a - b ans a - b a b break; case "*": "*" case "*": ans = a * b ans a * b a b break; case "/": "/" case "/": ans = a / b ans a / b a b break; System.out.println(ans) System.out.println System.out System System.out ans String[] args args public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);

        while (true) {
            int a = scan.nextInt();
            String operator = scan.next();
            int b = scan.nextInt();
            int ans = 0;
            if (operator.equals("?")) {
                break;
            }

            switch (operator) {
                case "+":
                    ans = a + b;
                    break;
                case "-":
                    ans = a - b;
                    break;
                case "*":
                    ans = a * b;
                    break;
                case "/":
                    ans = a / b;
                    break;
            }
            System.out.println(ans);
        }
    }
} public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);

        while (true) {
            int a = scan.nextInt();
            String operator = scan.next();
            int b = scan.nextInt();
            int ans = 0;
            if (operator.equals("?")) {
                break;
            }

            switch (operator) {
                case "+":
                    ans = a + b;
                    break;
                case "-":
                    ans = a - b;
                    break;
                case "*":
                    ans = a * b;
                    break;
                case "/":
                    ans = a / b;
                    break;
            }
            System.out.println(ans);
        }
    }
} Main
import java.util.*;

public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);

        while (true) {
            int a = scan.nextInt();
            String operator = scan.next();
            int b = scan.nextInt();
            int ans = 0;
            if (operator.equals("?")) {
                break;
            }

            switch (operator) {
                case "+":
                    ans = a + b;
                    break;
                case "-":
                    ans = a - b;
                    break;
                case "*":
                    ans = a * b;
                    break;
                case "/":
                    ans = a / b;
                    break;
            }
            System.out.println(ans);
        }
    }
}