import java.util.Scanner;

class Main
{
  public static int calc(int a, String op, int b){
    if(op.equals("?")) return 0;
    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("/")) System.out.println(a/b);
      return 1;
    }
  }

  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int a, b;
    String op;
    while(true){
      a  = sc.nextInt();
      op = sc.next();
      b = sc.nextInt();
      if(calc(a, op, b) == 0) break;
    }
  }
} import java.util.Scanner; Scanner java.util class Main
{
  public static int calc(int a, String op, int b){
    if(op.equals("?")) return 0;
    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("/")) System.out.println(a/b);
      return 1;
    }
  }

  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int a, b;
    String op;
    while(true){
      a  = sc.nextInt();
      op = sc.next();
      b = sc.nextInt();
      if(calc(a, op, b) == 0) break;
    }
  }
} Main public static int calc(int a, String op, int b){
    if(op.equals("?")) return 0;
    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("/")) System.out.println(a/b);
      return 1;
    }
  } calc {
    if(op.equals("?")) return 0;
    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("/")) System.out.println(a/b);
      return 1;
    }
  } if(op.equals("?")) return 0;
    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("/")) System.out.println(a/b);
      return 1;
    } op.equals("?") op.equals op "?" return 0; 0 {
      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);
      return 1;
    } 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); op.equals("+") op.equals op "+" System.out.println(a+b) System.out.println System.out System System.out a+b a b 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); op.equals("-") op.equals op "-" System.out.println(a-b) System.out.println System.out System System.out a-b a b if(op.equals("*")) System.out.println(a*b);
      else if(op.equals("/")) System.out.println(a/b); op.equals("*") op.equals op "*" System.out.println(a*b) System.out.println System.out System System.out a*b a b if(op.equals("/")) System.out.println(a/b); op.equals("/") op.equals op "/" System.out.println(a/b) System.out.println System.out System System.out a/b a b return 1; 1 int a a String op op int b b public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int a, b;
    String op;
    while(true){
      a  = sc.nextInt();
      op = sc.next();
      b = sc.nextInt();
      if(calc(a, op, b) == 0) break;
    }
  } main {
    Scanner sc = new Scanner(System.in);
    int a, b;
    String op;
    while(true){
      a  = sc.nextInt();
      op = sc.next();
      b = sc.nextInt();
      if(calc(a, op, b) == 0) break;
    }
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int a a b; b String op; op while(true){
      a  = sc.nextInt();
      op = sc.next();
      b = sc.nextInt();
      if(calc(a, op, b) == 0) break;
    } true {
      a  = sc.nextInt();
      op = sc.next();
      b = sc.nextInt();
      if(calc(a, op, b) == 0) break;
    } a  = sc.nextInt() a sc.nextInt() sc.nextInt sc op = sc.next() op sc.next() sc.next sc b = sc.nextInt() b sc.nextInt() sc.nextInt sc if(calc(a, op, b) == 0) break; calc(a, op, b) == 0 calc(a, op, b) calc a op b 0 break; String[] args args
import java.util.Scanner;

class Main
{
  public static int calc(int a, String op, int b){
    if(op.equals("?")) return 0;
    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("/")) System.out.println(a/b);
      return 1;
    }
  }

  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int a, b;
    String op;
    while(true){
      a  = sc.nextInt();
      op = sc.next();
      b = sc.nextInt();
      if(calc(a, op, b) == 0) break;
    }
  }
}