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

public class Main {

  public static void main(String[] args) throws IOException {
    BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    String readValue;
    while ((readValue = reader.readLine()) != null) {
      int leftVal = Integer.parseInt(readValue.split(" ")[0]);
      String op = readValue.split(" ")[1];
      int rightVal = Integer.parseInt(readValue.split(" ")[2]);
      int result;
      if (op.equals("?"))
        break;
      if (op.equals("+"))
        result = leftVal + rightVal;
      else if (op.equals("-"))
        result = leftVal - rightVal;
      else if (op.equals("*"))
        result = leftVal * rightVal;
      else if (op.equals("/"))
        result = leftVal / rightVal;
      else
        result = Integer.MIN_VALUE;
      System.out.println(result);
    }
  }

} 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 {
    BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    String readValue;
    while ((readValue = reader.readLine()) != null) {
      int leftVal = Integer.parseInt(readValue.split(" ")[0]);
      String op = readValue.split(" ")[1];
      int rightVal = Integer.parseInt(readValue.split(" ")[2]);
      int result;
      if (op.equals("?"))
        break;
      if (op.equals("+"))
        result = leftVal + rightVal;
      else if (op.equals("-"))
        result = leftVal - rightVal;
      else if (op.equals("*"))
        result = leftVal * rightVal;
      else if (op.equals("/"))
        result = leftVal / rightVal;
      else
        result = Integer.MIN_VALUE;
      System.out.println(result);
    }
  }

} Main public static void main(String[] args) throws IOException {
    BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    String readValue;
    while ((readValue = reader.readLine()) != null) {
      int leftVal = Integer.parseInt(readValue.split(" ")[0]);
      String op = readValue.split(" ")[1];
      int rightVal = Integer.parseInt(readValue.split(" ")[2]);
      int result;
      if (op.equals("?"))
        break;
      if (op.equals("+"))
        result = leftVal + rightVal;
      else if (op.equals("-"))
        result = leftVal - rightVal;
      else if (op.equals("*"))
        result = leftVal * rightVal;
      else if (op.equals("/"))
        result = leftVal / rightVal;
      else
        result = Integer.MIN_VALUE;
      System.out.println(result);
    }
  } main {
    BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    String readValue;
    while ((readValue = reader.readLine()) != null) {
      int leftVal = Integer.parseInt(readValue.split(" ")[0]);
      String op = readValue.split(" ")[1];
      int rightVal = Integer.parseInt(readValue.split(" ")[2]);
      int result;
      if (op.equals("?"))
        break;
      if (op.equals("+"))
        result = leftVal + rightVal;
      else if (op.equals("-"))
        result = leftVal - rightVal;
      else if (op.equals("*"))
        result = leftVal * rightVal;
      else if (op.equals("/"))
        result = leftVal / rightVal;
      else
        result = Integer.MIN_VALUE;
      System.out.println(result);
    }
  } BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); reader new BufferedReader(new InputStreamReader(System.in)) String readValue; readValue while ((readValue = reader.readLine()) != null) {
      int leftVal = Integer.parseInt(readValue.split(" ")[0]);
      String op = readValue.split(" ")[1];
      int rightVal = Integer.parseInt(readValue.split(" ")[2]);
      int result;
      if (op.equals("?"))
        break;
      if (op.equals("+"))
        result = leftVal + rightVal;
      else if (op.equals("-"))
        result = leftVal - rightVal;
      else if (op.equals("*"))
        result = leftVal * rightVal;
      else if (op.equals("/"))
        result = leftVal / rightVal;
      else
        result = Integer.MIN_VALUE;
      System.out.println(result);
    } (readValue = reader.readLine()) != null (readValue = reader.readLine()) readValue reader.readLine() reader.readLine reader null {
      int leftVal = Integer.parseInt(readValue.split(" ")[0]);
      String op = readValue.split(" ")[1];
      int rightVal = Integer.parseInt(readValue.split(" ")[2]);
      int result;
      if (op.equals("?"))
        break;
      if (op.equals("+"))
        result = leftVal + rightVal;
      else if (op.equals("-"))
        result = leftVal - rightVal;
      else if (op.equals("*"))
        result = leftVal * rightVal;
      else if (op.equals("/"))
        result = leftVal / rightVal;
      else
        result = Integer.MIN_VALUE;
      System.out.println(result);
    } int leftVal = Integer.parseInt(readValue.split(" ")[0]); leftVal Integer.parseInt(readValue.split(" ")[0]) Integer.parseInt Integer readValue.split(" ")[0] readValue.split(" ") readValue.split readValue " " 0 String op = readValue.split(" ")[1]; op readValue.split(" ")[1] readValue.split(" ") readValue.split readValue " " 1 int rightVal = Integer.parseInt(readValue.split(" ")[2]); rightVal Integer.parseInt(readValue.split(" ")[2]) Integer.parseInt Integer readValue.split(" ")[2] readValue.split(" ") readValue.split readValue " " 2 int result; result if (op.equals("?"))
        break; op.equals("?") op.equals op "?" break; if (op.equals("+"))
        result = leftVal + rightVal;
      else if (op.equals("-"))
        result = leftVal - rightVal;
      else if (op.equals("*"))
        result = leftVal * rightVal;
      else if (op.equals("/"))
        result = leftVal / rightVal;
      else
        result = Integer.MIN_VALUE; op.equals("+") op.equals op "+" result = leftVal + rightVal result leftVal + rightVal leftVal rightVal if (op.equals("-"))
        result = leftVal - rightVal;
      else if (op.equals("*"))
        result = leftVal * rightVal;
      else if (op.equals("/"))
        result = leftVal / rightVal;
      else
        result = Integer.MIN_VALUE; op.equals("-") op.equals op "-" result = leftVal - rightVal result leftVal - rightVal leftVal rightVal if (op.equals("*"))
        result = leftVal * rightVal;
      else if (op.equals("/"))
        result = leftVal / rightVal;
      else
        result = Integer.MIN_VALUE; op.equals("*") op.equals op "*" result = leftVal * rightVal result leftVal * rightVal leftVal rightVal if (op.equals("/"))
        result = leftVal / rightVal;
      else
        result = Integer.MIN_VALUE; op.equals("/") op.equals op "/" result = leftVal / rightVal result leftVal / rightVal leftVal rightVal result = Integer.MIN_VALUE result Integer.MIN_VALUE Integer Integer.MIN_VALUE System.out.println(result) System.out.println System.out System System.out result String[] args args public class Main {

  public static void main(String[] args) throws IOException {
    BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    String readValue;
    while ((readValue = reader.readLine()) != null) {
      int leftVal = Integer.parseInt(readValue.split(" ")[0]);
      String op = readValue.split(" ")[1];
      int rightVal = Integer.parseInt(readValue.split(" ")[2]);
      int result;
      if (op.equals("?"))
        break;
      if (op.equals("+"))
        result = leftVal + rightVal;
      else if (op.equals("-"))
        result = leftVal - rightVal;
      else if (op.equals("*"))
        result = leftVal * rightVal;
      else if (op.equals("/"))
        result = leftVal / rightVal;
      else
        result = Integer.MIN_VALUE;
      System.out.println(result);
    }
  }

} public class Main {

  public static void main(String[] args) throws IOException {
    BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    String readValue;
    while ((readValue = reader.readLine()) != null) {
      int leftVal = Integer.parseInt(readValue.split(" ")[0]);
      String op = readValue.split(" ")[1];
      int rightVal = Integer.parseInt(readValue.split(" ")[2]);
      int result;
      if (op.equals("?"))
        break;
      if (op.equals("+"))
        result = leftVal + rightVal;
      else if (op.equals("-"))
        result = leftVal - rightVal;
      else if (op.equals("*"))
        result = leftVal * rightVal;
      else if (op.equals("/"))
        result = leftVal / rightVal;
      else
        result = Integer.MIN_VALUE;
      System.out.println(result);
    }
  }

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

public class Main {

  public static void main(String[] args) throws IOException {
    BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    String readValue;
    while ((readValue = reader.readLine()) != null) {
      int leftVal = Integer.parseInt(readValue.split(" ")[0]);
      String op = readValue.split(" ")[1];
      int rightVal = Integer.parseInt(readValue.split(" ")[2]);
      int result;
      if (op.equals("?"))
        break;
      if (op.equals("+"))
        result = leftVal + rightVal;
      else if (op.equals("-"))
        result = leftVal - rightVal;
      else if (op.equals("*"))
        result = leftVal * rightVal;
      else if (op.equals("/"))
        result = leftVal / rightVal;
      else
        result = Integer.MIN_VALUE;
      System.out.println(result);
    }
  }

}