import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        try (Scanner in = new Scanner(System.in)) {
            solve(in);
        }
    }

    private static void solve(Scanner in) {
        while (true) {
            int a = in.nextInt();
            String op = in.next();
            int b = in.nextInt();
            final int ans;
            if (op.equals("+")) {
                ans = a + b;
            } else if (op.equals("-")) {
                ans = a - b;
            } else if (op.equals("*")) {
                ans = a * b;
            } else if (op.equals("/")) {
                ans = a / b;
            } else {
                break;
            }
            System.out.println(ans);
        }
    }
} import java.util.Scanner; Scanner java.util public class Main {

    public static void main(String[] args) {
        try (Scanner in = new Scanner(System.in)) {
            solve(in);
        }
    }

    private static void solve(Scanner in) {
        while (true) {
            int a = in.nextInt();
            String op = in.next();
            int b = in.nextInt();
            final int ans;
            if (op.equals("+")) {
                ans = a + b;
            } else if (op.equals("-")) {
                ans = a - b;
            } else if (op.equals("*")) {
                ans = a * b;
            } else if (op.equals("/")) {
                ans = a / b;
            } else {
                break;
            }
            System.out.println(ans);
        }
    }
} Main public static void main(String[] args) {
        try (Scanner in = new Scanner(System.in)) {
            solve(in);
        }
    } main {
        try (Scanner in = new Scanner(System.in)) {
            solve(in);
        }
    } try (Scanner in = new Scanner(System.in)) {
            solve(in);
        } {
            solve(in);
        } Scanner in = new Scanner(System.in) Scanner in = new Scanner(System.in) new Scanner(System.in) solve(in) solve in String[] args args private static void solve(Scanner in) {
        while (true) {
            int a = in.nextInt();
            String op = in.next();
            int b = in.nextInt();
            final int ans;
            if (op.equals("+")) {
                ans = a + b;
            } else if (op.equals("-")) {
                ans = a - b;
            } else if (op.equals("*")) {
                ans = a * b;
            } else if (op.equals("/")) {
                ans = a / b;
            } else {
                break;
            }
            System.out.println(ans);
        }
    } solve {
        while (true) {
            int a = in.nextInt();
            String op = in.next();
            int b = in.nextInt();
            final int ans;
            if (op.equals("+")) {
                ans = a + b;
            } else if (op.equals("-")) {
                ans = a - b;
            } else if (op.equals("*")) {
                ans = a * b;
            } else if (op.equals("/")) {
                ans = a / b;
            } else {
                break;
            }
            System.out.println(ans);
        }
    } while (true) {
            int a = in.nextInt();
            String op = in.next();
            int b = in.nextInt();
            final int ans;
            if (op.equals("+")) {
                ans = a + b;
            } else if (op.equals("-")) {
                ans = a - b;
            } else if (op.equals("*")) {
                ans = a * b;
            } else if (op.equals("/")) {
                ans = a / b;
            } else {
                break;
            }
            System.out.println(ans);
        } true {
            int a = in.nextInt();
            String op = in.next();
            int b = in.nextInt();
            final int ans;
            if (op.equals("+")) {
                ans = a + b;
            } else if (op.equals("-")) {
                ans = a - b;
            } else if (op.equals("*")) {
                ans = a * b;
            } else if (op.equals("/")) {
                ans = a / b;
            } else {
                break;
            }
            System.out.println(ans);
        } int a = in.nextInt(); a in.nextInt() in.nextInt in String op = in.next(); op in.next() in.next in int b = in.nextInt(); b in.nextInt() in.nextInt in final int ans; ans if (op.equals("+")) {
                ans = a + b;
            } else if (op.equals("-")) {
                ans = a - b;
            } else if (op.equals("*")) {
                ans = a * b;
            } else if (op.equals("/")) {
                ans = a / b;
            } else {
                break;
            } op.equals("+") op.equals op "+" {
                ans = a + b;
            } ans = a + b ans a + b a b if (op.equals("-")) {
                ans = a - b;
            } else if (op.equals("*")) {
                ans = a * b;
            } else if (op.equals("/")) {
                ans = a / b;
            } else {
                break;
            } op.equals("-") op.equals op "-" {
                ans = a - b;
            } ans = a - b ans a - b a b if (op.equals("*")) {
                ans = a * b;
            } else if (op.equals("/")) {
                ans = a / b;
            } else {
                break;
            } op.equals("*") op.equals op "*" {
                ans = a * b;
            } ans = a * b ans a * b a b if (op.equals("/")) {
                ans = a / b;
            } else {
                break;
            } op.equals("/") op.equals op "/" {
                ans = a / b;
            } ans = a / b ans a / b a b {
                break;
            } break; System.out.println(ans) System.out.println System.out System System.out ans Scanner in in public class Main {

    public static void main(String[] args) {
        try (Scanner in = new Scanner(System.in)) {
            solve(in);
        }
    }

    private static void solve(Scanner in) {
        while (true) {
            int a = in.nextInt();
            String op = in.next();
            int b = in.nextInt();
            final int ans;
            if (op.equals("+")) {
                ans = a + b;
            } else if (op.equals("-")) {
                ans = a - b;
            } else if (op.equals("*")) {
                ans = a * b;
            } else if (op.equals("/")) {
                ans = a / b;
            } else {
                break;
            }
            System.out.println(ans);
        }
    }
} public class Main {

    public static void main(String[] args) {
        try (Scanner in = new Scanner(System.in)) {
            solve(in);
        }
    }

    private static void solve(Scanner in) {
        while (true) {
            int a = in.nextInt();
            String op = in.next();
            int b = in.nextInt();
            final int ans;
            if (op.equals("+")) {
                ans = a + b;
            } else if (op.equals("-")) {
                ans = a - b;
            } else if (op.equals("*")) {
                ans = a * b;
            } else if (op.equals("/")) {
                ans = a / b;
            } else {
                break;
            }
            System.out.println(ans);
        }
    }
} Main
import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        try (Scanner in = new Scanner(System.in)) {
            solve(in);
        }
    }

    private static void solve(Scanner in) {
        while (true) {
            int a = in.nextInt();
            String op = in.next();
            int b = in.nextInt();
            final int ans;
            if (op.equals("+")) {
                ans = a + b;
            } else if (op.equals("-")) {
                ans = a - b;
            } else if (op.equals("*")) {
                ans = a * b;
            } else if (op.equals("/")) {
                ans = a / b;
            } else {
                break;
            }
            System.out.println(ans);
        }
    }
}