import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int a, b, c;
        String op;
        while (true) {
            a = scanner.nextInt();
            op = scanner.next();
            b = scanner.nextInt();
            if (op.equals("?")) {
                break;
            }
            switch (op) {
                case "+":
                    c = a + b;
                    System.out.println(c);
                    break;
                case "-":
                    c = a - b;
                    System.out.println(c);
                    break;
                case "*":
                    c = a * b;
                    System.out.println(c);
                    break;
                case "/":
                    c = a / b;
                    System.out.println(c);
                    break;
                default:
                    break;
            }

        }

    }
} import java.util.Scanner; Scanner java.util public class Main {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int a, b, c;
        String op;
        while (true) {
            a = scanner.nextInt();
            op = scanner.next();
            b = scanner.nextInt();
            if (op.equals("?")) {
                break;
            }
            switch (op) {
                case "+":
                    c = a + b;
                    System.out.println(c);
                    break;
                case "-":
                    c = a - b;
                    System.out.println(c);
                    break;
                case "*":
                    c = a * b;
                    System.out.println(c);
                    break;
                case "/":
                    c = a / b;
                    System.out.println(c);
                    break;
                default:
                    break;
            }

        }

    }
} Main public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int a, b, c;
        String op;
        while (true) {
            a = scanner.nextInt();
            op = scanner.next();
            b = scanner.nextInt();
            if (op.equals("?")) {
                break;
            }
            switch (op) {
                case "+":
                    c = a + b;
                    System.out.println(c);
                    break;
                case "-":
                    c = a - b;
                    System.out.println(c);
                    break;
                case "*":
                    c = a * b;
                    System.out.println(c);
                    break;
                case "/":
                    c = a / b;
                    System.out.println(c);
                    break;
                default:
                    break;
            }

        }

    } main {
        Scanner scanner = new Scanner(System.in);
        int a, b, c;
        String op;
        while (true) {
            a = scanner.nextInt();
            op = scanner.next();
            b = scanner.nextInt();
            if (op.equals("?")) {
                break;
            }
            switch (op) {
                case "+":
                    c = a + b;
                    System.out.println(c);
                    break;
                case "-":
                    c = a - b;
                    System.out.println(c);
                    break;
                case "*":
                    c = a * b;
                    System.out.println(c);
                    break;
                case "/":
                    c = a / b;
                    System.out.println(c);
                    break;
                default:
                    break;
            }

        }

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

        } true {
            a = scanner.nextInt();
            op = scanner.next();
            b = scanner.nextInt();
            if (op.equals("?")) {
                break;
            }
            switch (op) {
                case "+":
                    c = a + b;
                    System.out.println(c);
                    break;
                case "-":
                    c = a - b;
                    System.out.println(c);
                    break;
                case "*":
                    c = a * b;
                    System.out.println(c);
                    break;
                case "/":
                    c = a / b;
                    System.out.println(c);
                    break;
                default:
                    break;
            }

        } a = scanner.nextInt() a scanner.nextInt() scanner.nextInt scanner op = scanner.next() op scanner.next() scanner.next scanner b = scanner.nextInt() b scanner.nextInt() scanner.nextInt scanner if (op.equals("?")) {
                break;
            } op.equals("?") op.equals op "?" {
                break;
            } break; switch (op) {
                case "+":
                    c = a + b;
                    System.out.println(c);
                    break;
                case "-":
                    c = a - b;
                    System.out.println(c);
                    break;
                case "*":
                    c = a * b;
                    System.out.println(c);
                    break;
                case "/":
                    c = a / b;
                    System.out.println(c);
                    break;
                default:
                    break;
            } op case "+": "+" case "+": c = a + b c a + b a b System.out.println(c) System.out.println System.out System System.out c break; case "-": "-" case "-": c = a - b c a - b a b System.out.println(c) System.out.println System.out System System.out c break; case "*": "*" case "*": c = a * b c a * b a b System.out.println(c) System.out.println System.out System System.out c break; case "/": "/" case "/": c = a / b c a / b a b System.out.println(c) System.out.println System.out System System.out c break; default: default: break; String[] args args public class Main {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int a, b, c;
        String op;
        while (true) {
            a = scanner.nextInt();
            op = scanner.next();
            b = scanner.nextInt();
            if (op.equals("?")) {
                break;
            }
            switch (op) {
                case "+":
                    c = a + b;
                    System.out.println(c);
                    break;
                case "-":
                    c = a - b;
                    System.out.println(c);
                    break;
                case "*":
                    c = a * b;
                    System.out.println(c);
                    break;
                case "/":
                    c = a / b;
                    System.out.println(c);
                    break;
                default:
                    break;
            }

        }

    }
} public class Main {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int a, b, c;
        String op;
        while (true) {
            a = scanner.nextInt();
            op = scanner.next();
            b = scanner.nextInt();
            if (op.equals("?")) {
                break;
            }
            switch (op) {
                case "+":
                    c = a + b;
                    System.out.println(c);
                    break;
                case "-":
                    c = a - b;
                    System.out.println(c);
                    break;
                case "*":
                    c = a * b;
                    System.out.println(c);
                    break;
                case "/":
                    c = a / b;
                    System.out.println(c);
                    break;
                default:
                    break;
            }

        }

    }
} Main
import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int a, b, c;
        String op;
        while (true) {
            a = scanner.nextInt();
            op = scanner.next();
            b = scanner.nextInt();
            if (op.equals("?")) {
                break;
            }
            switch (op) {
                case "+":
                    c = a + b;
                    System.out.println(c);
                    break;
                case "-":
                    c = a - b;
                    System.out.println(c);
                    break;
                case "*":
                    c = a * b;
                    System.out.println(c);
                    break;
                case "/":
                    c = a / b;
                    System.out.println(c);
                    break;
                default:
                    break;
            }

        }

    }
}