import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int numA, numB;
        String op;

        while(true) {
            numA = Integer.parseInt(scan.next());
            op = scan.next();
            numB = Integer.parseInt(scan.next());

            if (op.equals("?")) break;

            if (op.equals("+")) {
                System.out.println(numA + numB);
            } else if (op.equals("-")) {
                System.out.println(numA - numB);
            }  else if (op.equals("*")) {
                System.out.println(numA * numB);
            } else {
                System.out.println(numA / numB);
            }
        }
    }
}
 import java.util.Scanner; Scanner java.util public class Main {

    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int numA, numB;
        String op;

        while(true) {
            numA = Integer.parseInt(scan.next());
            op = scan.next();
            numB = Integer.parseInt(scan.next());

            if (op.equals("?")) break;

            if (op.equals("+")) {
                System.out.println(numA + numB);
            } else if (op.equals("-")) {
                System.out.println(numA - numB);
            }  else if (op.equals("*")) {
                System.out.println(numA * numB);
            } else {
                System.out.println(numA / numB);
            }
        }
    }
} Main public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int numA, numB;
        String op;

        while(true) {
            numA = Integer.parseInt(scan.next());
            op = scan.next();
            numB = Integer.parseInt(scan.next());

            if (op.equals("?")) break;

            if (op.equals("+")) {
                System.out.println(numA + numB);
            } else if (op.equals("-")) {
                System.out.println(numA - numB);
            }  else if (op.equals("*")) {
                System.out.println(numA * numB);
            } else {
                System.out.println(numA / numB);
            }
        }
    } main {
        Scanner scan = new Scanner(System.in);
        int numA, numB;
        String op;

        while(true) {
            numA = Integer.parseInt(scan.next());
            op = scan.next();
            numB = Integer.parseInt(scan.next());

            if (op.equals("?")) break;

            if (op.equals("+")) {
                System.out.println(numA + numB);
            } else if (op.equals("-")) {
                System.out.println(numA - numB);
            }  else if (op.equals("*")) {
                System.out.println(numA * numB);
            } else {
                System.out.println(numA / numB);
            }
        }
    } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int numA numA numB; numB String op; op while(true) {
            numA = Integer.parseInt(scan.next());
            op = scan.next();
            numB = Integer.parseInt(scan.next());

            if (op.equals("?")) break;

            if (op.equals("+")) {
                System.out.println(numA + numB);
            } else if (op.equals("-")) {
                System.out.println(numA - numB);
            }  else if (op.equals("*")) {
                System.out.println(numA * numB);
            } else {
                System.out.println(numA / numB);
            }
        } true {
            numA = Integer.parseInt(scan.next());
            op = scan.next();
            numB = Integer.parseInt(scan.next());

            if (op.equals("?")) break;

            if (op.equals("+")) {
                System.out.println(numA + numB);
            } else if (op.equals("-")) {
                System.out.println(numA - numB);
            }  else if (op.equals("*")) {
                System.out.println(numA * numB);
            } else {
                System.out.println(numA / numB);
            }
        } numA = Integer.parseInt(scan.next()) numA Integer.parseInt(scan.next()) Integer.parseInt Integer scan.next() scan.next scan op = scan.next() op scan.next() scan.next scan numB = Integer.parseInt(scan.next()) numB Integer.parseInt(scan.next()) Integer.parseInt Integer scan.next() scan.next scan if (op.equals("?")) break; op.equals("?") op.equals op "?" break; if (op.equals("+")) {
                System.out.println(numA + numB);
            } else if (op.equals("-")) {
                System.out.println(numA - numB);
            }  else if (op.equals("*")) {
                System.out.println(numA * numB);
            } else {
                System.out.println(numA / numB);
            } op.equals("+") op.equals op "+" {
                System.out.println(numA + numB);
            } System.out.println(numA + numB) System.out.println System.out System System.out numA + numB numA numB if (op.equals("-")) {
                System.out.println(numA - numB);
            }  else if (op.equals("*")) {
                System.out.println(numA * numB);
            } else {
                System.out.println(numA / numB);
            } op.equals("-") op.equals op "-" {
                System.out.println(numA - numB);
            } System.out.println(numA - numB) System.out.println System.out System System.out numA - numB numA numB if (op.equals("*")) {
                System.out.println(numA * numB);
            } else {
                System.out.println(numA / numB);
            } op.equals("*") op.equals op "*" {
                System.out.println(numA * numB);
            } System.out.println(numA * numB) System.out.println System.out System System.out numA * numB numA numB {
                System.out.println(numA / numB);
            } System.out.println(numA / numB) System.out.println System.out System System.out numA / numB numA numB String[] args args public class Main {

    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int numA, numB;
        String op;

        while(true) {
            numA = Integer.parseInt(scan.next());
            op = scan.next();
            numB = Integer.parseInt(scan.next());

            if (op.equals("?")) break;

            if (op.equals("+")) {
                System.out.println(numA + numB);
            } else if (op.equals("-")) {
                System.out.println(numA - numB);
            }  else if (op.equals("*")) {
                System.out.println(numA * numB);
            } else {
                System.out.println(numA / numB);
            }
        }
    }
} public class Main {

    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int numA, numB;
        String op;

        while(true) {
            numA = Integer.parseInt(scan.next());
            op = scan.next();
            numB = Integer.parseInt(scan.next());

            if (op.equals("?")) break;

            if (op.equals("+")) {
                System.out.println(numA + numB);
            } else if (op.equals("-")) {
                System.out.println(numA - numB);
            }  else if (op.equals("*")) {
                System.out.println(numA * numB);
            } else {
                System.out.println(numA / numB);
            }
        }
    }
} Main
import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int numA, numB;
        String op;

        while(true) {
            numA = Integer.parseInt(scan.next());
            op = scan.next();
            numB = Integer.parseInt(scan.next());

            if (op.equals("?")) break;

            if (op.equals("+")) {
                System.out.println(numA + numB);
            } else if (op.equals("-")) {
                System.out.println(numA - numB);
            }  else if (op.equals("*")) {
                System.out.println(numA * numB);
            } else {
                System.out.println(numA / numB);
            }
        }
    }
}

