import java.util.Scanner;
public class Main {
   public static void main(String[] args){
     Scanner scanner = new Scanner(System.in);
     for(int i=1;i>0; i++){
          String c0 ="?";
          String c1 ="+";
          String c2 ="-";
          String c3 ="*";
          String c4 ="/";
          int a = scanner.nextInt();
          String op = scanner.next();
          int b = scanner.nextInt();
          if(op.equals(c0))break;
          if(op.equals(c1)){
              int e1=a+b;
              System.out.println(e1);
          }
          else if(op.equals(c2)){
              int e2=a-b;
              System.out.println(e2);
          }
          else if(op.equals(c3)){
              int e3=a*b;
              System.out.println(e3);
          }
          else if(op.equals(c4)){
              int e4=a/b;
              System.out.println(e4);
          }
     }     
}
} import java.util.Scanner; Scanner java.util public class Main {
   public static void main(String[] args){
     Scanner scanner = new Scanner(System.in);
     for(int i=1;i>0; i++){
          String c0 ="?";
          String c1 ="+";
          String c2 ="-";
          String c3 ="*";
          String c4 ="/";
          int a = scanner.nextInt();
          String op = scanner.next();
          int b = scanner.nextInt();
          if(op.equals(c0))break;
          if(op.equals(c1)){
              int e1=a+b;
              System.out.println(e1);
          }
          else if(op.equals(c2)){
              int e2=a-b;
              System.out.println(e2);
          }
          else if(op.equals(c3)){
              int e3=a*b;
              System.out.println(e3);
          }
          else if(op.equals(c4)){
              int e4=a/b;
              System.out.println(e4);
          }
     }     
}
} Main public static void main(String[] args){
     Scanner scanner = new Scanner(System.in);
     for(int i=1;i>0; i++){
          String c0 ="?";
          String c1 ="+";
          String c2 ="-";
          String c3 ="*";
          String c4 ="/";
          int a = scanner.nextInt();
          String op = scanner.next();
          int b = scanner.nextInt();
          if(op.equals(c0))break;
          if(op.equals(c1)){
              int e1=a+b;
              System.out.println(e1);
          }
          else if(op.equals(c2)){
              int e2=a-b;
              System.out.println(e2);
          }
          else if(op.equals(c3)){
              int e3=a*b;
              System.out.println(e3);
          }
          else if(op.equals(c4)){
              int e4=a/b;
              System.out.println(e4);
          }
     }     
} main {
     Scanner scanner = new Scanner(System.in);
     for(int i=1;i>0; i++){
          String c0 ="?";
          String c1 ="+";
          String c2 ="-";
          String c3 ="*";
          String c4 ="/";
          int a = scanner.nextInt();
          String op = scanner.next();
          int b = scanner.nextInt();
          if(op.equals(c0))break;
          if(op.equals(c1)){
              int e1=a+b;
              System.out.println(e1);
          }
          else if(op.equals(c2)){
              int e2=a-b;
              System.out.println(e2);
          }
          else if(op.equals(c3)){
              int e3=a*b;
              System.out.println(e3);
          }
          else if(op.equals(c4)){
              int e4=a/b;
              System.out.println(e4);
          }
     }     
} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) for(int i=1;i>0; i++){
          String c0 ="?";
          String c1 ="+";
          String c2 ="-";
          String c3 ="*";
          String c4 ="/";
          int a = scanner.nextInt();
          String op = scanner.next();
          int b = scanner.nextInt();
          if(op.equals(c0))break;
          if(op.equals(c1)){
              int e1=a+b;
              System.out.println(e1);
          }
          else if(op.equals(c2)){
              int e2=a-b;
              System.out.println(e2);
          }
          else if(op.equals(c3)){
              int e3=a*b;
              System.out.println(e3);
          }
          else if(op.equals(c4)){
              int e4=a/b;
              System.out.println(e4);
          }
     } int i=1; int i=1; i 1 i>0 i 0 i++ i++ i {
          String c0 ="?";
          String c1 ="+";
          String c2 ="-";
          String c3 ="*";
          String c4 ="/";
          int a = scanner.nextInt();
          String op = scanner.next();
          int b = scanner.nextInt();
          if(op.equals(c0))break;
          if(op.equals(c1)){
              int e1=a+b;
              System.out.println(e1);
          }
          else if(op.equals(c2)){
              int e2=a-b;
              System.out.println(e2);
          }
          else if(op.equals(c3)){
              int e3=a*b;
              System.out.println(e3);
          }
          else if(op.equals(c4)){
              int e4=a/b;
              System.out.println(e4);
          }
     } {
          String c0 ="?";
          String c1 ="+";
          String c2 ="-";
          String c3 ="*";
          String c4 ="/";
          int a = scanner.nextInt();
          String op = scanner.next();
          int b = scanner.nextInt();
          if(op.equals(c0))break;
          if(op.equals(c1)){
              int e1=a+b;
              System.out.println(e1);
          }
          else if(op.equals(c2)){
              int e2=a-b;
              System.out.println(e2);
          }
          else if(op.equals(c3)){
              int e3=a*b;
              System.out.println(e3);
          }
          else if(op.equals(c4)){
              int e4=a/b;
              System.out.println(e4);
          }
     } String c0 ="?"; c0 "?" String c1 ="+"; c1 "+" String c2 ="-"; c2 "-" String c3 ="*"; c3 "*" String c4 ="/"; c4 "/" int a = scanner.nextInt(); a scanner.nextInt() scanner.nextInt scanner String op = scanner.next(); op scanner.next() scanner.next scanner int b = scanner.nextInt(); b scanner.nextInt() scanner.nextInt scanner if(op.equals(c0))break; op.equals(c0) op.equals op c0 break; if(op.equals(c1)){
              int e1=a+b;
              System.out.println(e1);
          }
          else if(op.equals(c2)){
              int e2=a-b;
              System.out.println(e2);
          }
          else if(op.equals(c3)){
              int e3=a*b;
              System.out.println(e3);
          }
          else if(op.equals(c4)){
              int e4=a/b;
              System.out.println(e4);
          } op.equals(c1) op.equals op c1 {
              int e1=a+b;
              System.out.println(e1);
          } int e1=a+b; e1 a+b a b System.out.println(e1) System.out.println System.out System System.out e1 if(op.equals(c2)){
              int e2=a-b;
              System.out.println(e2);
          }
          else if(op.equals(c3)){
              int e3=a*b;
              System.out.println(e3);
          }
          else if(op.equals(c4)){
              int e4=a/b;
              System.out.println(e4);
          } op.equals(c2) op.equals op c2 {
              int e2=a-b;
              System.out.println(e2);
          } int e2=a-b; e2 a-b a b System.out.println(e2) System.out.println System.out System System.out e2 if(op.equals(c3)){
              int e3=a*b;
              System.out.println(e3);
          }
          else if(op.equals(c4)){
              int e4=a/b;
              System.out.println(e4);
          } op.equals(c3) op.equals op c3 {
              int e3=a*b;
              System.out.println(e3);
          } int e3=a*b; e3 a*b a b System.out.println(e3) System.out.println System.out System System.out e3 if(op.equals(c4)){
              int e4=a/b;
              System.out.println(e4);
          } op.equals(c4) op.equals op c4 {
              int e4=a/b;
              System.out.println(e4);
          } int e4=a/b; e4 a/b a b System.out.println(e4) System.out.println System.out System System.out e4 String[] args args public class Main {
   public static void main(String[] args){
     Scanner scanner = new Scanner(System.in);
     for(int i=1;i>0; i++){
          String c0 ="?";
          String c1 ="+";
          String c2 ="-";
          String c3 ="*";
          String c4 ="/";
          int a = scanner.nextInt();
          String op = scanner.next();
          int b = scanner.nextInt();
          if(op.equals(c0))break;
          if(op.equals(c1)){
              int e1=a+b;
              System.out.println(e1);
          }
          else if(op.equals(c2)){
              int e2=a-b;
              System.out.println(e2);
          }
          else if(op.equals(c3)){
              int e3=a*b;
              System.out.println(e3);
          }
          else if(op.equals(c4)){
              int e4=a/b;
              System.out.println(e4);
          }
     }     
}
} public class Main {
   public static void main(String[] args){
     Scanner scanner = new Scanner(System.in);
     for(int i=1;i>0; i++){
          String c0 ="?";
          String c1 ="+";
          String c2 ="-";
          String c3 ="*";
          String c4 ="/";
          int a = scanner.nextInt();
          String op = scanner.next();
          int b = scanner.nextInt();
          if(op.equals(c0))break;
          if(op.equals(c1)){
              int e1=a+b;
              System.out.println(e1);
          }
          else if(op.equals(c2)){
              int e2=a-b;
              System.out.println(e2);
          }
          else if(op.equals(c3)){
              int e3=a*b;
              System.out.println(e3);
          }
          else if(op.equals(c4)){
              int e4=a/b;
              System.out.println(e4);
          }
     }     
}
} Main
import java.util.Scanner;
public class Main {
   public static void main(String[] args){
     Scanner scanner = new Scanner(System.in);
     for(int i=1;i>0; i++){
          String c0 ="?";
          String c1 ="+";
          String c2 ="-";
          String c3 ="*";
          String c4 ="/";
          int a = scanner.nextInt();
          String op = scanner.next();
          int b = scanner.nextInt();
          if(op.equals(c0))break;
          if(op.equals(c1)){
              int e1=a+b;
              System.out.println(e1);
          }
          else if(op.equals(c2)){
              int e2=a-b;
              System.out.println(e2);
          }
          else if(op.equals(c3)){
              int e3=a*b;
              System.out.println(e3);
          }
          else if(op.equals(c4)){
              int e4=a/b;
              System.out.println(e4);
          }
     }     
}
}