import java.io.*;

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

    try{
      while(true){
        String[] str = br.readLine().split(" ");
        int a = Integer.parseInt(str[0]);
        String op = str[1];
        int b = Integer.parseInt(str[2]);

        switch(op){
          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;
          case "?" :  break;
        }
        if(op.equals("?")){
          break;
        }
      }
    }
    catch(IOException e) {
      e.printStackTrace();
    }
  }
} import java.io.*; io.* java class Main {
  public static void main(String[] args){
    InputStreamReader sr = new InputStreamReader(System.in);
    BufferedReader br = new BufferedReader(sr);

    try{
      while(true){
        String[] str = br.readLine().split(" ");
        int a = Integer.parseInt(str[0]);
        String op = str[1];
        int b = Integer.parseInt(str[2]);

        switch(op){
          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;
          case "?" :  break;
        }
        if(op.equals("?")){
          break;
        }
      }
    }
    catch(IOException e) {
      e.printStackTrace();
    }
  }
} Main public static void main(String[] args){
    InputStreamReader sr = new InputStreamReader(System.in);
    BufferedReader br = new BufferedReader(sr);

    try{
      while(true){
        String[] str = br.readLine().split(" ");
        int a = Integer.parseInt(str[0]);
        String op = str[1];
        int b = Integer.parseInt(str[2]);

        switch(op){
          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;
          case "?" :  break;
        }
        if(op.equals("?")){
          break;
        }
      }
    }
    catch(IOException e) {
      e.printStackTrace();
    }
  } main {
    InputStreamReader sr = new InputStreamReader(System.in);
    BufferedReader br = new BufferedReader(sr);

    try{
      while(true){
        String[] str = br.readLine().split(" ");
        int a = Integer.parseInt(str[0]);
        String op = str[1];
        int b = Integer.parseInt(str[2]);

        switch(op){
          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;
          case "?" :  break;
        }
        if(op.equals("?")){
          break;
        }
      }
    }
    catch(IOException e) {
      e.printStackTrace();
    }
  } InputStreamReader sr = new InputStreamReader(System.in); sr new InputStreamReader(System.in) BufferedReader br = new BufferedReader(sr); br new BufferedReader(sr) try{
      while(true){
        String[] str = br.readLine().split(" ");
        int a = Integer.parseInt(str[0]);
        String op = str[1];
        int b = Integer.parseInt(str[2]);

        switch(op){
          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;
          case "?" :  break;
        }
        if(op.equals("?")){
          break;
        }
      }
    }
    catch(IOException e) {
      e.printStackTrace();
    } catch(IOException e) {
      e.printStackTrace();
    } IOException e {
      e.printStackTrace();
    } e.printStackTrace() e.printStackTrace e {
      while(true){
        String[] str = br.readLine().split(" ");
        int a = Integer.parseInt(str[0]);
        String op = str[1];
        int b = Integer.parseInt(str[2]);

        switch(op){
          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;
          case "?" :  break;
        }
        if(op.equals("?")){
          break;
        }
      }
    } while(true){
        String[] str = br.readLine().split(" ");
        int a = Integer.parseInt(str[0]);
        String op = str[1];
        int b = Integer.parseInt(str[2]);

        switch(op){
          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;
          case "?" :  break;
        }
        if(op.equals("?")){
          break;
        }
      } true {
        String[] str = br.readLine().split(" ");
        int a = Integer.parseInt(str[0]);
        String op = str[1];
        int b = Integer.parseInt(str[2]);

        switch(op){
          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;
          case "?" :  break;
        }
        if(op.equals("?")){
          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 String op = str[1]; op str[1] str 1 int b = Integer.parseInt(str[2]); b Integer.parseInt(str[2]) Integer.parseInt Integer str[2] str 2 switch(op){
          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;
          case "?" :  break;
        } op 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; case "?" : "?" case "?" : break; if(op.equals("?")){
          break;
        } op.equals("?") op.equals op "?" {
          break;
        } break; String[] args args
import java.io.*;

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

    try{
      while(true){
        String[] str = br.readLine().split(" ");
        int a = Integer.parseInt(str[0]);
        String op = str[1];
        int b = Integer.parseInt(str[2]);

        switch(op){
          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;
          case "?" :  break;
        }
        if(op.equals("?")){
          break;
        }
      }
    }
    catch(IOException e) {
      e.printStackTrace();
    }
  }
}