import java.io.*;

class Main
{
  public static void main(String[] args) throws IOException
  {
    try{
      BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

      for(;;){
        String str[] = br.readLine().split(" ");
        int a = Integer.parseInt(str[0]);
        int b = Integer.parseInt(str[2]);
        // str[1] : operation

        if(str[1].equals("?")) break; // finish

        switch(str[1]){
          case "+":
            System.out.println(a + b);
            break;
          case "-":
            System.out.println(a - b);
            break;
          case "*":
            System.out.println(a * b);
            break;
          case "/":
            System.out.println(a / b);
            break;
          default:
            break;
        }
      }
      br.close();
    }catch(Exception e){
      System.exit(-1);
    }
  }
} import java.io.*; io.* java class Main
{
  public static void main(String[] args) throws IOException
  {
    try{
      BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

      for(;;){
        String str[] = br.readLine().split(" ");
        int a = Integer.parseInt(str[0]);
        int b = Integer.parseInt(str[2]);
        // str[1] : operation

        if(str[1].equals("?")) break; // finish

        switch(str[1]){
          case "+":
            System.out.println(a + b);
            break;
          case "-":
            System.out.println(a - b);
            break;
          case "*":
            System.out.println(a * b);
            break;
          case "/":
            System.out.println(a / b);
            break;
          default:
            break;
        }
      }
      br.close();
    }catch(Exception e){
      System.exit(-1);
    }
  }
} Main public static void main(String[] args) throws IOException
  {
    try{
      BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

      for(;;){
        String str[] = br.readLine().split(" ");
        int a = Integer.parseInt(str[0]);
        int b = Integer.parseInt(str[2]);
        // str[1] : operation

        if(str[1].equals("?")) break; // finish

        switch(str[1]){
          case "+":
            System.out.println(a + b);
            break;
          case "-":
            System.out.println(a - b);
            break;
          case "*":
            System.out.println(a * b);
            break;
          case "/":
            System.out.println(a / b);
            break;
          default:
            break;
        }
      }
      br.close();
    }catch(Exception e){
      System.exit(-1);
    }
  } main {
    try{
      BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

      for(;;){
        String str[] = br.readLine().split(" ");
        int a = Integer.parseInt(str[0]);
        int b = Integer.parseInt(str[2]);
        // str[1] : operation

        if(str[1].equals("?")) break; // finish

        switch(str[1]){
          case "+":
            System.out.println(a + b);
            break;
          case "-":
            System.out.println(a - b);
            break;
          case "*":
            System.out.println(a * b);
            break;
          case "/":
            System.out.println(a / b);
            break;
          default:
            break;
        }
      }
      br.close();
    }catch(Exception e){
      System.exit(-1);
    }
  } try{
      BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

      for(;;){
        String str[] = br.readLine().split(" ");
        int a = Integer.parseInt(str[0]);
        int b = Integer.parseInt(str[2]);
        // str[1] : operation

        if(str[1].equals("?")) break; // finish

        switch(str[1]){
          case "+":
            System.out.println(a + b);
            break;
          case "-":
            System.out.println(a - b);
            break;
          case "*":
            System.out.println(a * b);
            break;
          case "/":
            System.out.println(a / b);
            break;
          default:
            break;
        }
      }
      br.close();
    }catch(Exception e){
      System.exit(-1);
    } catch(Exception e){
      System.exit(-1);
    } Exception e {
      System.exit(-1);
    } System.exit(-1) System.exit System -1 1 {
      BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

      for(;;){
        String str[] = br.readLine().split(" ");
        int a = Integer.parseInt(str[0]);
        int b = Integer.parseInt(str[2]);
        // str[1] : operation

        if(str[1].equals("?")) break; // finish

        switch(str[1]){
          case "+":
            System.out.println(a + b);
            break;
          case "-":
            System.out.println(a - b);
            break;
          case "*":
            System.out.println(a * b);
            break;
          case "/":
            System.out.println(a / b);
            break;
          default:
            break;
        }
      }
      br.close();
    } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) for(;;){
        String str[] = br.readLine().split(" ");
        int a = Integer.parseInt(str[0]);
        int b = Integer.parseInt(str[2]);
        // str[1] : operation

        if(str[1].equals("?")) break; // finish

        switch(str[1]){
          case "+":
            System.out.println(a + b);
            break;
          case "-":
            System.out.println(a - b);
            break;
          case "*":
            System.out.println(a * b);
            break;
          case "/":
            System.out.println(a / b);
            break;
          default:
            break;
        }
      } ; {
        String str[] = br.readLine().split(" ");
        int a = Integer.parseInt(str[0]);
        int b = Integer.parseInt(str[2]);
        // str[1] : operation

        if(str[1].equals("?")) break; // finish

        switch(str[1]){
          case "+":
            System.out.println(a + b);
            break;
          case "-":
            System.out.println(a - b);
            break;
          case "*":
            System.out.println(a * b);
            break;
          case "/":
            System.out.println(a / b);
            break;
          default:
            break;
        }
      } {
        String str[] = br.readLine().split(" ");
        int a = Integer.parseInt(str[0]);
        int b = Integer.parseInt(str[2]);
        // str[1] : operation

        if(str[1].equals("?")) break; // finish

        switch(str[1]){
          case "+":
            System.out.println(a + b);
            break;
          case "-":
            System.out.println(a - b);
            break;
          case "*":
            System.out.println(a * b);
            break;
          case "/":
            System.out.println(a / b);
            break;
          default:
            break;
        }
      } String str[] = br.readLine().split(" "); str br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " int a = Integer.parseInt(str[0]); a Integer.parseInt(str[0]) Integer.parseInt Integer str[0] str 0 int b = Integer.parseInt(str[2]); b Integer.parseInt(str[2]) Integer.parseInt Integer str[2] str 2 if(str[1].equals("?")) break; // finish str[1].equals("?") str[1].equals str[1] str 1 "?" break; // finish switch(str[1]){
          case "+":
            System.out.println(a + b);
            break;
          case "-":
            System.out.println(a - b);
            break;
          case "*":
            System.out.println(a * b);
            break;
          case "/":
            System.out.println(a / b);
            break;
          default:
            break;
        } str[1] str 1 case "+": "+" case "+": System.out.println(a + b) System.out.println System.out System System.out a + b a b break; case "-": "-" case "-": System.out.println(a - b) System.out.println System.out System System.out a - b a b break; case "*": "*" case "*": System.out.println(a * b) System.out.println System.out System System.out a * b a b break; case "/": "/" case "/": System.out.println(a / b) System.out.println System.out System System.out a / b a b break; default: default: break; br.close() br.close br String[] args args
import java.io.*;

class Main
{
  public static void main(String[] args) throws IOException
  {
    try{
      BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

      for(;;){
        String str[] = br.readLine().split(" ");
        int a = Integer.parseInt(str[0]);
        int b = Integer.parseInt(str[2]);
        // str[1] : operation

        if(str[1].equals("?")) break; // finish

        switch(str[1]){
          case "+":
            System.out.println(a + b);
            break;
          case "-":
            System.out.println(a - b);
            break;
          case "*":
            System.out.println(a * b);
            break;
          case "/":
            System.out.println(a / b);
            break;
          default:
            break;
        }
      }
      br.close();
    }catch(Exception e){
      System.exit(-1);
    }
  }
}