import java.io.*;
import java.util.*;

class Main{
  public static void main(String[] args) {
  Scanner scan = new Scanner(System.in);

while(true) {
    int a = scan.nextInt();
    char op = scan.next().charAt(0);
    int b = scan.nextInt();

    if (op == '?'){
      break;
    } else if (op == '+'){
      System.out.println(a + b);
    } else  if (op == '-'){
      System.out.println(a - b);
    } else  if (op == '*'){
      System.out.println(a * b);
    } else  if (op == '/'){
      System.out.println(a / b);
    }
    }
  }
} import java.io.*; io.* java import java.util.*; util.* java class Main{
  public static void main(String[] args) {
  Scanner scan = new Scanner(System.in);

while(true) {
    int a = scan.nextInt();
    char op = scan.next().charAt(0);
    int b = scan.nextInt();

    if (op == '?'){
      break;
    } else if (op == '+'){
      System.out.println(a + b);
    } else  if (op == '-'){
      System.out.println(a - b);
    } else  if (op == '*'){
      System.out.println(a * b);
    } else  if (op == '/'){
      System.out.println(a / b);
    }
    }
  }
} Main public static void main(String[] args) {
  Scanner scan = new Scanner(System.in);

while(true) {
    int a = scan.nextInt();
    char op = scan.next().charAt(0);
    int b = scan.nextInt();

    if (op == '?'){
      break;
    } else if (op == '+'){
      System.out.println(a + b);
    } else  if (op == '-'){
      System.out.println(a - b);
    } else  if (op == '*'){
      System.out.println(a * b);
    } else  if (op == '/'){
      System.out.println(a / b);
    }
    }
  } main {
  Scanner scan = new Scanner(System.in);

while(true) {
    int a = scan.nextInt();
    char op = scan.next().charAt(0);
    int b = scan.nextInt();

    if (op == '?'){
      break;
    } else if (op == '+'){
      System.out.println(a + b);
    } else  if (op == '-'){
      System.out.println(a - b);
    } else  if (op == '*'){
      System.out.println(a * b);
    } else  if (op == '/'){
      System.out.println(a / b);
    }
    }
  } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) while(true) {
    int a = scan.nextInt();
    char op = scan.next().charAt(0);
    int b = scan.nextInt();

    if (op == '?'){
      break;
    } else if (op == '+'){
      System.out.println(a + b);
    } else  if (op == '-'){
      System.out.println(a - b);
    } else  if (op == '*'){
      System.out.println(a * b);
    } else  if (op == '/'){
      System.out.println(a / b);
    }
    } true {
    int a = scan.nextInt();
    char op = scan.next().charAt(0);
    int b = scan.nextInt();

    if (op == '?'){
      break;
    } else if (op == '+'){
      System.out.println(a + b);
    } else  if (op == '-'){
      System.out.println(a - b);
    } else  if (op == '*'){
      System.out.println(a * b);
    } else  if (op == '/'){
      System.out.println(a / b);
    }
    } int a = scan.nextInt(); a scan.nextInt() scan.nextInt scan char op = scan.next().charAt(0); op scan.next().charAt(0) scan.next().charAt scan.next() scan.next scan 0 int b = scan.nextInt(); b scan.nextInt() scan.nextInt scan if (op == '?'){
      break;
    } else if (op == '+'){
      System.out.println(a + b);
    } else  if (op == '-'){
      System.out.println(a - b);
    } else  if (op == '*'){
      System.out.println(a * b);
    } else  if (op == '/'){
      System.out.println(a / b);
    } op == '?' op '?' {
      break;
    } break; if (op == '+'){
      System.out.println(a + b);
    } else  if (op == '-'){
      System.out.println(a - b);
    } else  if (op == '*'){
      System.out.println(a * b);
    } else  if (op == '/'){
      System.out.println(a / b);
    } op == '+' op '+' {
      System.out.println(a + b);
    } System.out.println(a + b) System.out.println System.out System System.out a + b a b if (op == '-'){
      System.out.println(a - b);
    } else  if (op == '*'){
      System.out.println(a * b);
    } else  if (op == '/'){
      System.out.println(a / b);
    } op == '-' op '-' {
      System.out.println(a - b);
    } System.out.println(a - b) System.out.println System.out System System.out a - b a b if (op == '*'){
      System.out.println(a * b);
    } else  if (op == '/'){
      System.out.println(a / b);
    } op == '*' op '*' {
      System.out.println(a * b);
    } System.out.println(a * b) System.out.println System.out System System.out a * b a b if (op == '/'){
      System.out.println(a / b);
    } op == '/' op '/' {
      System.out.println(a / b);
    } System.out.println(a / b) System.out.println System.out System System.out a / b a b String[] args args
import java.io.*;
import java.util.*;

class Main{
  public static void main(String[] args) {
  Scanner scan = new Scanner(System.in);

while(true) {
    int a = scan.nextInt();
    char op = scan.next().charAt(0);
    int b = scan.nextInt();

    if (op == '?'){
      break;
    } else if (op == '+'){
      System.out.println(a + b);
    } else  if (op == '-'){
      System.out.println(a - b);
    } else  if (op == '*'){
      System.out.println(a * b);
    } else  if (op == '/'){
      System.out.println(a / b);
    }
    }
  }
}