import java.io.PrintWriter;
import java.util.Scanner;

class Main {
    private static final Scanner sc = new Scanner(System.in);
    private static final PrintWriter out = new PrintWriter(System.out);
    public static void main(String[] Args) {
        while(true) {
            int a = Integer.parseInt(sc.next());
            String op = sc.next();
            int b = Integer.parseInt(sc.next());
            if(op.equals("+")) {
                out.println(a+b);
            } else if(op.equals("-")) {
                out.println(a-b);
            } else if(op.equals("*")) {
                out.println(a*b);
            } else if(op.equals("/")) {
                out.println(a/b);
            } else {
                break;
            }
        }
        out.flush();
    }
} import java.io.PrintWriter; PrintWriter java.io import java.util.Scanner; Scanner java.util class Main {
    private static final Scanner sc = new Scanner(System.in);
    private static final PrintWriter out = new PrintWriter(System.out);
    public static void main(String[] Args) {
        while(true) {
            int a = Integer.parseInt(sc.next());
            String op = sc.next();
            int b = Integer.parseInt(sc.next());
            if(op.equals("+")) {
                out.println(a+b);
            } else if(op.equals("-")) {
                out.println(a-b);
            } else if(op.equals("*")) {
                out.println(a*b);
            } else if(op.equals("/")) {
                out.println(a/b);
            } else {
                break;
            }
        }
        out.flush();
    }
} Main private static final Scanner sc = new Scanner(System.in); sc new Scanner(System.in) private static final PrintWriter out = new PrintWriter(System.out); out new PrintWriter(System.out) public static void main(String[] Args) {
        while(true) {
            int a = Integer.parseInt(sc.next());
            String op = sc.next();
            int b = Integer.parseInt(sc.next());
            if(op.equals("+")) {
                out.println(a+b);
            } else if(op.equals("-")) {
                out.println(a-b);
            } else if(op.equals("*")) {
                out.println(a*b);
            } else if(op.equals("/")) {
                out.println(a/b);
            } else {
                break;
            }
        }
        out.flush();
    } main {
        while(true) {
            int a = Integer.parseInt(sc.next());
            String op = sc.next();
            int b = Integer.parseInt(sc.next());
            if(op.equals("+")) {
                out.println(a+b);
            } else if(op.equals("-")) {
                out.println(a-b);
            } else if(op.equals("*")) {
                out.println(a*b);
            } else if(op.equals("/")) {
                out.println(a/b);
            } else {
                break;
            }
        }
        out.flush();
    } while(true) {
            int a = Integer.parseInt(sc.next());
            String op = sc.next();
            int b = Integer.parseInt(sc.next());
            if(op.equals("+")) {
                out.println(a+b);
            } else if(op.equals("-")) {
                out.println(a-b);
            } else if(op.equals("*")) {
                out.println(a*b);
            } else if(op.equals("/")) {
                out.println(a/b);
            } else {
                break;
            }
        } true {
            int a = Integer.parseInt(sc.next());
            String op = sc.next();
            int b = Integer.parseInt(sc.next());
            if(op.equals("+")) {
                out.println(a+b);
            } else if(op.equals("-")) {
                out.println(a-b);
            } else if(op.equals("*")) {
                out.println(a*b);
            } else if(op.equals("/")) {
                out.println(a/b);
            } else {
                break;
            }
        } int a = Integer.parseInt(sc.next()); a Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc String op = sc.next(); op sc.next() sc.next sc int b = Integer.parseInt(sc.next()); b Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc if(op.equals("+")) {
                out.println(a+b);
            } else if(op.equals("-")) {
                out.println(a-b);
            } else if(op.equals("*")) {
                out.println(a*b);
            } else if(op.equals("/")) {
                out.println(a/b);
            } else {
                break;
            } op.equals("+") op.equals op "+" {
                out.println(a+b);
            } out.println(a+b) out.println out a+b a b if(op.equals("-")) {
                out.println(a-b);
            } else if(op.equals("*")) {
                out.println(a*b);
            } else if(op.equals("/")) {
                out.println(a/b);
            } else {
                break;
            } op.equals("-") op.equals op "-" {
                out.println(a-b);
            } out.println(a-b) out.println out a-b a b if(op.equals("*")) {
                out.println(a*b);
            } else if(op.equals("/")) {
                out.println(a/b);
            } else {
                break;
            } op.equals("*") op.equals op "*" {
                out.println(a*b);
            } out.println(a*b) out.println out a*b a b if(op.equals("/")) {
                out.println(a/b);
            } else {
                break;
            } op.equals("/") op.equals op "/" {
                out.println(a/b);
            } out.println(a/b) out.println out a/b a b {
                break;
            } break; out.flush() out.flush out String[] Args Args
import java.io.PrintWriter;
import java.util.Scanner;

class Main {
    private static final Scanner sc = new Scanner(System.in);
    private static final PrintWriter out = new PrintWriter(System.out);
    public static void main(String[] Args) {
        while(true) {
            int a = Integer.parseInt(sc.next());
            String op = sc.next();
            int b = Integer.parseInt(sc.next());
            if(op.equals("+")) {
                out.println(a+b);
            } else if(op.equals("-")) {
                out.println(a-b);
            } else if(op.equals("*")) {
                out.println(a*b);
            } else if(op.equals("/")) {
                out.println(a/b);
            } else {
                break;
            }
        }
        out.flush();
    }
}