import java.io.*;

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

    while(true){
    String str1 = br.readLine();
    String[] str2 = str1.split(" ");
    int a = Integer.parseInt(str2[0]);
    int b = Integer.parseInt(str2[2]);
    String op = str2[1];
    String plus = "+";
    String minus = "-";
    String product = "*";
    String division = "/";

      if(op.equals(plus))
        System.out.println(a + b);
      else if(op.equals(minus))
        System.out.println(a - b);
      if(op.equals(product))
        System.out.println(a * b);
      else if(op.equals(division))
        System.out.println(a / b);
      else if(op.equals("?")){
        break;
      }
    }
  }
} import java.io.*; io.* java class Main{
  public static void main(String[] args) throws IOException{
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

    while(true){
    String str1 = br.readLine();
    String[] str2 = str1.split(" ");
    int a = Integer.parseInt(str2[0]);
    int b = Integer.parseInt(str2[2]);
    String op = str2[1];
    String plus = "+";
    String minus = "-";
    String product = "*";
    String division = "/";

      if(op.equals(plus))
        System.out.println(a + b);
      else if(op.equals(minus))
        System.out.println(a - b);
      if(op.equals(product))
        System.out.println(a * b);
      else if(op.equals(division))
        System.out.println(a / b);
      else if(op.equals("?")){
        break;
      }
    }
  }
} Main public static void main(String[] args) throws IOException{
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

    while(true){
    String str1 = br.readLine();
    String[] str2 = str1.split(" ");
    int a = Integer.parseInt(str2[0]);
    int b = Integer.parseInt(str2[2]);
    String op = str2[1];
    String plus = "+";
    String minus = "-";
    String product = "*";
    String division = "/";

      if(op.equals(plus))
        System.out.println(a + b);
      else if(op.equals(minus))
        System.out.println(a - b);
      if(op.equals(product))
        System.out.println(a * b);
      else if(op.equals(division))
        System.out.println(a / b);
      else if(op.equals("?")){
        break;
      }
    }
  } main {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

    while(true){
    String str1 = br.readLine();
    String[] str2 = str1.split(" ");
    int a = Integer.parseInt(str2[0]);
    int b = Integer.parseInt(str2[2]);
    String op = str2[1];
    String plus = "+";
    String minus = "-";
    String product = "*";
    String division = "/";

      if(op.equals(plus))
        System.out.println(a + b);
      else if(op.equals(minus))
        System.out.println(a - b);
      if(op.equals(product))
        System.out.println(a * b);
      else if(op.equals(division))
        System.out.println(a / b);
      else if(op.equals("?")){
        break;
      }
    }
  } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) while(true){
    String str1 = br.readLine();
    String[] str2 = str1.split(" ");
    int a = Integer.parseInt(str2[0]);
    int b = Integer.parseInt(str2[2]);
    String op = str2[1];
    String plus = "+";
    String minus = "-";
    String product = "*";
    String division = "/";

      if(op.equals(plus))
        System.out.println(a + b);
      else if(op.equals(minus))
        System.out.println(a - b);
      if(op.equals(product))
        System.out.println(a * b);
      else if(op.equals(division))
        System.out.println(a / b);
      else if(op.equals("?")){
        break;
      }
    } true {
    String str1 = br.readLine();
    String[] str2 = str1.split(" ");
    int a = Integer.parseInt(str2[0]);
    int b = Integer.parseInt(str2[2]);
    String op = str2[1];
    String plus = "+";
    String minus = "-";
    String product = "*";
    String division = "/";

      if(op.equals(plus))
        System.out.println(a + b);
      else if(op.equals(minus))
        System.out.println(a - b);
      if(op.equals(product))
        System.out.println(a * b);
      else if(op.equals(division))
        System.out.println(a / b);
      else if(op.equals("?")){
        break;
      }
    } String str1 = br.readLine(); str1 br.readLine() br.readLine br String[] str2 = str1.split(" "); str2 str1.split(" ") str1.split str1 " " int a = Integer.parseInt(str2[0]); a Integer.parseInt(str2[0]) Integer.parseInt Integer str2[0] str2 0 int b = Integer.parseInt(str2[2]); b Integer.parseInt(str2[2]) Integer.parseInt Integer str2[2] str2 2 String op = str2[1]; op str2[1] str2 1 String plus = "+"; plus "+" String minus = "-"; minus "-" String product = "*"; product "*" String division = "/"; division "/" if(op.equals(plus))
        System.out.println(a + b);
      else if(op.equals(minus))
        System.out.println(a - b); op.equals(plus) op.equals op plus System.out.println(a + b) System.out.println System.out System System.out a + b a b if(op.equals(minus))
        System.out.println(a - b); op.equals(minus) op.equals op minus System.out.println(a - b) System.out.println System.out System System.out a - b a b if(op.equals(product))
        System.out.println(a * b);
      else if(op.equals(division))
        System.out.println(a / b);
      else if(op.equals("?")){
        break;
      } op.equals(product) op.equals op product System.out.println(a * b) System.out.println System.out System System.out a * b a b if(op.equals(division))
        System.out.println(a / b);
      else if(op.equals("?")){
        break;
      } op.equals(division) op.equals op division System.out.println(a / b) System.out.println System.out System System.out a / b a b 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) throws IOException{
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

    while(true){
    String str1 = br.readLine();
    String[] str2 = str1.split(" ");
    int a = Integer.parseInt(str2[0]);
    int b = Integer.parseInt(str2[2]);
    String op = str2[1];
    String plus = "+";
    String minus = "-";
    String product = "*";
    String division = "/";

      if(op.equals(plus))
        System.out.println(a + b);
      else if(op.equals(minus))
        System.out.println(a - b);
      if(op.equals(product))
        System.out.println(a * b);
      else if(op.equals(division))
        System.out.println(a / b);
      else if(op.equals("?")){
        break;
      }
    }
  }
}