public class Main{
  public void run(java.io.InputStream in, java.io.PrintStream out){
    java.util.Scanner sc = new java.util.Scanner(in);
/*answer*/
    int a, b;
    String c;

    for(;;){
      a = sc.nextInt();
      c = sc.next();
      b = sc.nextInt();
      if("+".equals(c)){
        System.out.println(a + b);
      }else if("-".equals(c)){
        System.out.println(a - b);
      }else if("*".equals(c)){
        System.out.println(a * b);
      }else if("/".equals(c)){
        System.out.println(a / b);
      }else if("?".equals(c)){
          break;
      }
    }
/*fin*/
    sc.close();
  }
  public static void main(String[] args){
    (new Main()).run(System.in, System.out);
  }
} public class Main{
  public void run(java.io.InputStream in, java.io.PrintStream out){
    java.util.Scanner sc = new java.util.Scanner(in);
/*answer*/
    int a, b;
    String c;

    for(;;){
      a = sc.nextInt();
      c = sc.next();
      b = sc.nextInt();
      if("+".equals(c)){
        System.out.println(a + b);
      }else if("-".equals(c)){
        System.out.println(a - b);
      }else if("*".equals(c)){
        System.out.println(a * b);
      }else if("/".equals(c)){
        System.out.println(a / b);
      }else if("?".equals(c)){
          break;
      }
    }
/*fin*/
    sc.close();
  }
  public static void main(String[] args){
    (new Main()).run(System.in, System.out);
  }
} Main public void run(java.io.InputStream in, java.io.PrintStream out){
    java.util.Scanner sc = new java.util.Scanner(in);
/*answer*/
    int a, b;
    String c;

    for(;;){
      a = sc.nextInt();
      c = sc.next();
      b = sc.nextInt();
      if("+".equals(c)){
        System.out.println(a + b);
      }else if("-".equals(c)){
        System.out.println(a - b);
      }else if("*".equals(c)){
        System.out.println(a * b);
      }else if("/".equals(c)){
        System.out.println(a / b);
      }else if("?".equals(c)){
          break;
      }
    }
/*fin*/
    sc.close();
  } run {
    java.util.Scanner sc = new java.util.Scanner(in);
/*answer*/
    int a, b;
    String c;

    for(;;){
      a = sc.nextInt();
      c = sc.next();
      b = sc.nextInt();
      if("+".equals(c)){
        System.out.println(a + b);
      }else if("-".equals(c)){
        System.out.println(a - b);
      }else if("*".equals(c)){
        System.out.println(a * b);
      }else if("/".equals(c)){
        System.out.println(a / b);
      }else if("?".equals(c)){
          break;
      }
    }
/*fin*/
    sc.close();
  } java.util.Scanner sc = new java.util.Scanner(in); sc new java.util.Scanner(in) int a a b; b String c; c for(;;){
      a = sc.nextInt();
      c = sc.next();
      b = sc.nextInt();
      if("+".equals(c)){
        System.out.println(a + b);
      }else if("-".equals(c)){
        System.out.println(a - b);
      }else if("*".equals(c)){
        System.out.println(a * b);
      }else if("/".equals(c)){
        System.out.println(a / b);
      }else if("?".equals(c)){
          break;
      }
    } ; {
      a = sc.nextInt();
      c = sc.next();
      b = sc.nextInt();
      if("+".equals(c)){
        System.out.println(a + b);
      }else if("-".equals(c)){
        System.out.println(a - b);
      }else if("*".equals(c)){
        System.out.println(a * b);
      }else if("/".equals(c)){
        System.out.println(a / b);
      }else if("?".equals(c)){
          break;
      }
    } {
      a = sc.nextInt();
      c = sc.next();
      b = sc.nextInt();
      if("+".equals(c)){
        System.out.println(a + b);
      }else if("-".equals(c)){
        System.out.println(a - b);
      }else if("*".equals(c)){
        System.out.println(a * b);
      }else if("/".equals(c)){
        System.out.println(a / b);
      }else if("?".equals(c)){
          break;
      }
    } a = sc.nextInt() a sc.nextInt() sc.nextInt sc c = sc.next() c sc.next() sc.next sc b = sc.nextInt() b sc.nextInt() sc.nextInt sc if("+".equals(c)){
        System.out.println(a + b);
      }else if("-".equals(c)){
        System.out.println(a - b);
      }else if("*".equals(c)){
        System.out.println(a * b);
      }else if("/".equals(c)){
        System.out.println(a / b);
      }else if("?".equals(c)){
          break;
      } "+".equals(c) "+".equals "+" c {
        System.out.println(a + b);
      } System.out.println(a + b) System.out.println System.out System System.out a + b a b if("-".equals(c)){
        System.out.println(a - b);
      }else if("*".equals(c)){
        System.out.println(a * b);
      }else if("/".equals(c)){
        System.out.println(a / b);
      }else if("?".equals(c)){
          break;
      } "-".equals(c) "-".equals "-" c {
        System.out.println(a - b);
      } System.out.println(a - b) System.out.println System.out System System.out a - b a b if("*".equals(c)){
        System.out.println(a * b);
      }else if("/".equals(c)){
        System.out.println(a / b);
      }else if("?".equals(c)){
          break;
      } "*".equals(c) "*".equals "*" c {
        System.out.println(a * b);
      } System.out.println(a * b) System.out.println System.out System System.out a * b a b if("/".equals(c)){
        System.out.println(a / b);
      }else if("?".equals(c)){
          break;
      } "/".equals(c) "/".equals "/" c {
        System.out.println(a / b);
      } System.out.println(a / b) System.out.println System.out System System.out a / b a b if("?".equals(c)){
          break;
      } "?".equals(c) "?".equals "?" c {
          break;
      } break; sc.close() sc.close sc java.io.InputStream in in java.io.PrintStream out out public static void main(String[] args){
    (new Main()).run(System.in, System.out);
  } main {
    (new Main()).run(System.in, System.out);
  } (new Main()).run(System.in, System.out) (new Main()).run (new Main()) System.in System System.in System.out System System.out String[] args args public class Main{
  public void run(java.io.InputStream in, java.io.PrintStream out){
    java.util.Scanner sc = new java.util.Scanner(in);
/*answer*/
    int a, b;
    String c;

    for(;;){
      a = sc.nextInt();
      c = sc.next();
      b = sc.nextInt();
      if("+".equals(c)){
        System.out.println(a + b);
      }else if("-".equals(c)){
        System.out.println(a - b);
      }else if("*".equals(c)){
        System.out.println(a * b);
      }else if("/".equals(c)){
        System.out.println(a / b);
      }else if("?".equals(c)){
          break;
      }
    }
/*fin*/
    sc.close();
  }
  public static void main(String[] args){
    (new Main()).run(System.in, System.out);
  }
} public class Main{
  public void run(java.io.InputStream in, java.io.PrintStream out){
    java.util.Scanner sc = new java.util.Scanner(in);
/*answer*/
    int a, b;
    String c;

    for(;;){
      a = sc.nextInt();
      c = sc.next();
      b = sc.nextInt();
      if("+".equals(c)){
        System.out.println(a + b);
      }else if("-".equals(c)){
        System.out.println(a - b);
      }else if("*".equals(c)){
        System.out.println(a * b);
      }else if("/".equals(c)){
        System.out.println(a / b);
      }else if("?".equals(c)){
          break;
      }
    }
/*fin*/
    sc.close();
  }
  public static void main(String[] args){
    (new Main()).run(System.in, System.out);
  }
} Main
public class Main{
  public void run(java.io.InputStream in, java.io.PrintStream out){
    java.util.Scanner sc = new java.util.Scanner(in);
/*answer*/
    int a, b;
    String c;

    for(;;){
      a = sc.nextInt();
      c = sc.next();
      b = sc.nextInt();
      if("+".equals(c)){
        System.out.println(a + b);
      }else if("-".equals(c)){
        System.out.println(a - b);
      }else if("*".equals(c)){
        System.out.println(a * b);
      }else if("/".equals(c)){
        System.out.println(a / b);
      }else if("?".equals(c)){
          break;
      }
    }
/*fin*/
    sc.close();
  }
  public static void main(String[] args){
    (new Main()).run(System.in, System.out);
  }
}