import java.util.NoSuchElementException;
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        try {
            while (sc.hasNext()) {
                String[] a_op_b = sc.nextLine().split(" ");
                if (a_op_b.length != 3) {
                    throw new InvalidTestCaseException();
                }
                String op = a_op_b[1];
                int a = Integer.parseInt(a_op_b[0]);
                int b = Integer.parseInt(a_op_b[2]);
                if (op.equals("+")) {
                    System.out.println(a + b);
                } else if (op.equals("-")) {
                    System.out.println(a - b);
                } else if (op.equals("*")) {
                    System.out.println(a * b);
                } else if (op.equals("/")) {
                    System.out.println(a / b);
                } else if (op.equals("?")) {
                    break;
                }
            }
        } catch (InvalidTestCaseException
                | NoSuchElementException
                | NumberFormatException e) {
            System.out.println(e);
        }
    }

    private static class InvalidTestCaseException extends RuntimeException {
        InvalidTestCaseException() {
            super("Condition is invalid.");
        }
    }
}


/tmp/hf-datasets-cache/medium/datasets/42704881117311-config-parquet-and-info-qiankunmu-Project_CodeNet-896c9d36/hub/datasets--qiankunmu--Project_CodeNet_Python800_and_Java250/snapshots/c899fde44a77ba1cc14973ed3de064e4ff3aadc7/Project_CodeNet_Java250.tar.gz