import java.util.Scanner;

public class Main {
    public static void main(String[] srgs) {

        Scanner sc = new Scanner(System.in); // ??????????????????????????????.

        // ?????????????????? int ?????¨??????????????\???????????????.
        // ??????????????????????????? 0 ????????????.
        while (true) {
            int x = sc.nextInt();
            String op = sc.next();
            int y = sc.nextInt();
            if (op.equals("?")) { break; }
            if (op.equals("+")) { System.out.println(x + y); }
            if (op.equals("-")) { System.out.println(x - y); }
            if (op.equals("*")) { System.out.println(x * y); }
            if (op.equals("/")) { System.out.println(x / y); }
        }
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] srgs) {

        Scanner sc = new Scanner(System.in); // ??????????????????????????????.

        // ?????????????????? int ?????¨??????????????\???????????????.
        // ??????????????????????????? 0 ????????????.
        while (true) {
            int x = sc.nextInt();
            String op = sc.next();
            int y = sc.nextInt();
            if (op.equals("?")) { break; }
            if (op.equals("+")) { System.out.println(x + y); }
            if (op.equals("-")) { System.out.println(x - y); }
            if (op.equals("*")) { System.out.println(x * y); }
            if (op.equals("/")) { System.out.println(x / y); }
        }
    }
} Main public static void main(String[] srgs) {

        Scanner sc = new Scanner(System.in); // ??????????????????????????????.

        // ?????????????????? int ?????¨??????????????\???????????????.
        // ??????????????????????????? 0 ????????????.
        while (true) {
            int x = sc.nextInt();
            String op = sc.next();
            int y = sc.nextInt();
            if (op.equals("?")) { break; }
            if (op.equals("+")) { System.out.println(x + y); }
            if (op.equals("-")) { System.out.println(x - y); }
            if (op.equals("*")) { System.out.println(x * y); }
            if (op.equals("/")) { System.out.println(x / y); }
        }
    } main {

        Scanner sc = new Scanner(System.in); // ??????????????????????????????.

        // ?????????????????? int ?????¨??????????????\???????????????.
        // ??????????????????????????? 0 ????????????.
        while (true) {
            int x = sc.nextInt();
            String op = sc.next();
            int y = sc.nextInt();
            if (op.equals("?")) { break; }
            if (op.equals("+")) { System.out.println(x + y); }
            if (op.equals("-")) { System.out.println(x - y); }
            if (op.equals("*")) { System.out.println(x * y); }
            if (op.equals("/")) { System.out.println(x / y); }
        }
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) while (true) {
            int x = sc.nextInt();
            String op = sc.next();
            int y = sc.nextInt();
            if (op.equals("?")) { break; }
            if (op.equals("+")) { System.out.println(x + y); }
            if (op.equals("-")) { System.out.println(x - y); }
            if (op.equals("*")) { System.out.println(x * y); }
            if (op.equals("/")) { System.out.println(x / y); }
        } true {
            int x = sc.nextInt();
            String op = sc.next();
            int y = sc.nextInt();
            if (op.equals("?")) { break; }
            if (op.equals("+")) { System.out.println(x + y); }
            if (op.equals("-")) { System.out.println(x - y); }
            if (op.equals("*")) { System.out.println(x * y); }
            if (op.equals("/")) { System.out.println(x / y); }
        } int x = sc.nextInt(); x sc.nextInt() sc.nextInt sc String op = sc.next(); op sc.next() sc.next sc int y = sc.nextInt(); y sc.nextInt() sc.nextInt sc if (op.equals("?")) { break; } op.equals("?") op.equals op "?" { break; } break; if (op.equals("+")) { System.out.println(x + y); } op.equals("+") op.equals op "+" { System.out.println(x + y); } System.out.println(x + y) System.out.println System.out System System.out x + y x y if (op.equals("-")) { System.out.println(x - y); } op.equals("-") op.equals op "-" { System.out.println(x - y); } System.out.println(x - y) System.out.println System.out System System.out x - y x y if (op.equals("*")) { System.out.println(x * y); } op.equals("*") op.equals op "*" { System.out.println(x * y); } System.out.println(x * y) System.out.println System.out System System.out x * y x y if (op.equals("/")) { System.out.println(x / y); } op.equals("/") op.equals op "/" { System.out.println(x / y); } System.out.println(x / y) System.out.println System.out System System.out x / y x y String[] srgs srgs public class Main {
    public static void main(String[] srgs) {

        Scanner sc = new Scanner(System.in); // ??????????????????????????????.

        // ?????????????????? int ?????¨??????????????\???????????????.
        // ??????????????????????????? 0 ????????????.
        while (true) {
            int x = sc.nextInt();
            String op = sc.next();
            int y = sc.nextInt();
            if (op.equals("?")) { break; }
            if (op.equals("+")) { System.out.println(x + y); }
            if (op.equals("-")) { System.out.println(x - y); }
            if (op.equals("*")) { System.out.println(x * y); }
            if (op.equals("/")) { System.out.println(x / y); }
        }
    }
} public class Main {
    public static void main(String[] srgs) {

        Scanner sc = new Scanner(System.in); // ??????????????????????????????.

        // ?????????????????? int ?????¨??????????????\???????????????.
        // ??????????????????????????? 0 ????????????.
        while (true) {
            int x = sc.nextInt();
            String op = sc.next();
            int y = sc.nextInt();
            if (op.equals("?")) { break; }
            if (op.equals("+")) { System.out.println(x + y); }
            if (op.equals("-")) { System.out.println(x - y); }
            if (op.equals("*")) { System.out.println(x * y); }
            if (op.equals("/")) { System.out.println(x / y); }
        }
    }
} Main
import java.util.Scanner;

public class Main {
    public static void main(String[] srgs) {

        Scanner sc = new Scanner(System.in); // ??????????????????????????????.

        // ?????????????????? int ?????¨??????????????\???????????????.
        // ??????????????????????????? 0 ????????????.
        while (true) {
            int x = sc.nextInt();
            String op = sc.next();
            int y = sc.nextInt();
            if (op.equals("?")) { break; }
            if (op.equals("+")) { System.out.println(x + y); }
            if (op.equals("-")) { System.out.println(x - y); }
            if (op.equals("*")) { System.out.println(x * y); }
            if (op.equals("/")) { System.out.println(x / y); }
        }
    }
}