import java.util.Scanner;

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

class Main {
   public static void main(String[] args) {
      Scanner sc = new Scanner(System.in);
      while (true){
         int a = Integer.parseInt(sc.next());
         String op = sc.next();
         int b = Integer.parseInt(sc.next());
         if ("?".equals(op)) break;
         if ((a >= 0 && a <= 20000) && (b >= 0 && b <= 20000)) {
            if ("+".equals(op)) {
               System.out.println(a + b);
            } else if ("-".equals(op)) {
               System.out.println(a - b);
            } else if ("*".equals(op)) {
               System.out.println(a * b);
            } else if ("/".equals(op)) {
               System.out.println(a / b);
            }
         }
      }
   }
}