
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {

    public static void main(String[] args) throws IOException {
        int a, b;
        String op;
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        StringBuilder builder = new StringBuilder();

        while (true) {
            String data = reader.readLine();
            String[] number = data.split(" ");
            a = Integer.parseInt(number[0]);
            op = number[1];
            b = Integer.parseInt(number[2]);

            if (op.equals("?")) {
                break;
            }
            if (op.equals("+")) {
                 builder
                    .append(a+b)
                    .append("\n");
            }
            if (op.equals("-")) {
                 builder
                    .append(a-b)
                    .append("\n");
            }
            if (op.equals("*")) {
                 builder
                    .append(a*b)
                    .append("\n");
            }
            if (op.equals("/")) {
                 builder
                    .append(a/b)
                    .append("\n");
            }
        }
        System.out.print(builder);        
    }
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {

    public static void main(String[] args) throws IOException {
        int a, b;
        String op;
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        StringBuilder builder = new StringBuilder();

        while (true) {
            String data = reader.readLine();
            String[] number = data.split(" ");
            a = Integer.parseInt(number[0]);
            op = number[1];
            b = Integer.parseInt(number[2]);

            if (op.equals("?")) {
                break;
            }
            if (op.equals("+")) {
                 builder
                    .append(a+b)
                    .append("\n");
            }
            if (op.equals("-")) {
                 builder
                    .append(a-b)
                    .append("\n");
            }
            if (op.equals("*")) {
                 builder
                    .append(a*b)
                    .append("\n");
            }
            if (op.equals("/")) {
                 builder
                    .append(a/b)
                    .append("\n");
            }
        }
        System.out.print(builder);        
    }
} Main public static void main(String[] args) throws IOException {
        int a, b;
        String op;
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        StringBuilder builder = new StringBuilder();

        while (true) {
            String data = reader.readLine();
            String[] number = data.split(" ");
            a = Integer.parseInt(number[0]);
            op = number[1];
            b = Integer.parseInt(number[2]);

            if (op.equals("?")) {
                break;
            }
            if (op.equals("+")) {
                 builder
                    .append(a+b)
                    .append("\n");
            }
            if (op.equals("-")) {
                 builder
                    .append(a-b)
                    .append("\n");
            }
            if (op.equals("*")) {
                 builder
                    .append(a*b)
                    .append("\n");
            }
            if (op.equals("/")) {
                 builder
                    .append(a/b)
                    .append("\n");
            }
        }
        System.out.print(builder);        
    } main {
        int a, b;
        String op;
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        StringBuilder builder = new StringBuilder();

        while (true) {
            String data = reader.readLine();
            String[] number = data.split(" ");
            a = Integer.parseInt(number[0]);
            op = number[1];
            b = Integer.parseInt(number[2]);

            if (op.equals("?")) {
                break;
            }
            if (op.equals("+")) {
                 builder
                    .append(a+b)
                    .append("\n");
            }
            if (op.equals("-")) {
                 builder
                    .append(a-b)
                    .append("\n");
            }
            if (op.equals("*")) {
                 builder
                    .append(a*b)
                    .append("\n");
            }
            if (op.equals("/")) {
                 builder
                    .append(a/b)
                    .append("\n");
            }
        }
        System.out.print(builder);        
    } int a a b; b String op; op BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); reader new BufferedReader(new InputStreamReader(System.in)) StringBuilder builder = new StringBuilder(); builder new StringBuilder() while (true) {
            String data = reader.readLine();
            String[] number = data.split(" ");
            a = Integer.parseInt(number[0]);
            op = number[1];
            b = Integer.parseInt(number[2]);

            if (op.equals("?")) {
                break;
            }
            if (op.equals("+")) {
                 builder
                    .append(a+b)
                    .append("\n");
            }
            if (op.equals("-")) {
                 builder
                    .append(a-b)
                    .append("\n");
            }
            if (op.equals("*")) {
                 builder
                    .append(a*b)
                    .append("\n");
            }
            if (op.equals("/")) {
                 builder
                    .append(a/b)
                    .append("\n");
            }
        } true {
            String data = reader.readLine();
            String[] number = data.split(" ");
            a = Integer.parseInt(number[0]);
            op = number[1];
            b = Integer.parseInt(number[2]);

            if (op.equals("?")) {
                break;
            }
            if (op.equals("+")) {
                 builder
                    .append(a+b)
                    .append("\n");
            }
            if (op.equals("-")) {
                 builder
                    .append(a-b)
                    .append("\n");
            }
            if (op.equals("*")) {
                 builder
                    .append(a*b)
                    .append("\n");
            }
            if (op.equals("/")) {
                 builder
                    .append(a/b)
                    .append("\n");
            }
        } String data = reader.readLine(); data reader.readLine() reader.readLine reader String[] number = data.split(" "); number data.split(" ") data.split data " " a = Integer.parseInt(number[0]) a Integer.parseInt(number[0]) Integer.parseInt Integer number[0] number 0 op = number[1] op number[1] number 1 b = Integer.parseInt(number[2]) b Integer.parseInt(number[2]) Integer.parseInt Integer number[2] number 2 if (op.equals("?")) {
                break;
            } op.equals("?") op.equals op "?" {
                break;
            } break; if (op.equals("+")) {
                 builder
                    .append(a+b)
                    .append("\n");
            } op.equals("+") op.equals op "+" {
                 builder
                    .append(a+b)
                    .append("\n");
            } builder
                    .append(a+b)
                    .append("\n") builder
                    .append(a+b)
                    .append builder
                    .append(a+b) builder
                    .append builder a+b a b "\n" if (op.equals("-")) {
                 builder
                    .append(a-b)
                    .append("\n");
            } op.equals("-") op.equals op "-" {
                 builder
                    .append(a-b)
                    .append("\n");
            } builder
                    .append(a-b)
                    .append("\n") builder
                    .append(a-b)
                    .append builder
                    .append(a-b) builder
                    .append builder a-b a b "\n" if (op.equals("*")) {
                 builder
                    .append(a*b)
                    .append("\n");
            } op.equals("*") op.equals op "*" {
                 builder
                    .append(a*b)
                    .append("\n");
            } builder
                    .append(a*b)
                    .append("\n") builder
                    .append(a*b)
                    .append builder
                    .append(a*b) builder
                    .append builder a*b a b "\n" if (op.equals("/")) {
                 builder
                    .append(a/b)
                    .append("\n");
            } op.equals("/") op.equals op "/" {
                 builder
                    .append(a/b)
                    .append("\n");
            } builder
                    .append(a/b)
                    .append("\n") builder
                    .append(a/b)
                    .append builder
                    .append(a/b) builder
                    .append builder a/b a b "\n" System.out.print(builder) System.out.print System.out System System.out builder String[] args args public class Main {

    public static void main(String[] args) throws IOException {
        int a, b;
        String op;
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        StringBuilder builder = new StringBuilder();

        while (true) {
            String data = reader.readLine();
            String[] number = data.split(" ");
            a = Integer.parseInt(number[0]);
            op = number[1];
            b = Integer.parseInt(number[2]);

            if (op.equals("?")) {
                break;
            }
            if (op.equals("+")) {
                 builder
                    .append(a+b)
                    .append("\n");
            }
            if (op.equals("-")) {
                 builder
                    .append(a-b)
                    .append("\n");
            }
            if (op.equals("*")) {
                 builder
                    .append(a*b)
                    .append("\n");
            }
            if (op.equals("/")) {
                 builder
                    .append(a/b)
                    .append("\n");
            }
        }
        System.out.print(builder);        
    }
} public class Main {

    public static void main(String[] args) throws IOException {
        int a, b;
        String op;
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        StringBuilder builder = new StringBuilder();

        while (true) {
            String data = reader.readLine();
            String[] number = data.split(" ");
            a = Integer.parseInt(number[0]);
            op = number[1];
            b = Integer.parseInt(number[2]);

            if (op.equals("?")) {
                break;
            }
            if (op.equals("+")) {
                 builder
                    .append(a+b)
                    .append("\n");
            }
            if (op.equals("-")) {
                 builder
                    .append(a-b)
                    .append("\n");
            }
            if (op.equals("*")) {
                 builder
                    .append(a*b)
                    .append("\n");
            }
            if (op.equals("/")) {
                 builder
                    .append(a/b)
                    .append("\n");
            }
        }
        System.out.print(builder);        
    }
} Main

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {

    public static void main(String[] args) throws IOException {
        int a, b;
        String op;
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        StringBuilder builder = new StringBuilder();

        while (true) {
            String data = reader.readLine();
            String[] number = data.split(" ");
            a = Integer.parseInt(number[0]);
            op = number[1];
            b = Integer.parseInt(number[2]);

            if (op.equals("?")) {
                break;
            }
            if (op.equals("+")) {
                 builder
                    .append(a+b)
                    .append("\n");
            }
            if (op.equals("-")) {
                 builder
                    .append(a-b)
                    .append("\n");
            }
            if (op.equals("*")) {
                 builder
                    .append(a*b)
                    .append("\n");
            }
            if (op.equals("/")) {
                 builder
                    .append(a/b)
                    .append("\n");
            }
        }
        System.out.print(builder);        
    }
}