import java.util.*;                                                                                  

public class Main {
    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);

        for(int i = 0; i < 20000; i++) {
          String line = sc.nextLine();
          String[] l = line.split(" ");
          int a = Integer.parseInt(l[0]);
          String op = l[1];
          int b = Integer.parseInt(l[2]);

          if(op.equals("?")) {
            break;
          } else if(op.equals("+")) {
            System.out.println(a + b); 
          } else if(op.equals("-")) {
            System.out.println(a - b); 
          } else if(op.equals("*")) {
            System.out.println(a * b); 
          } else if(op.equals("/")) {
            System.out.println(a / b); 
          }   
        }   
    }   
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);

        for(int i = 0; i < 20000; i++) {
          String line = sc.nextLine();
          String[] l = line.split(" ");
          int a = Integer.parseInt(l[0]);
          String op = l[1];
          int b = Integer.parseInt(l[2]);

          if(op.equals("?")) {
            break;
          } else if(op.equals("+")) {
            System.out.println(a + b); 
          } else if(op.equals("-")) {
            System.out.println(a - b); 
          } else if(op.equals("*")) {
            System.out.println(a * b); 
          } else if(op.equals("/")) {
            System.out.println(a / b); 
          }   
        }   
    }   
} Main public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);

        for(int i = 0; i < 20000; i++) {
          String line = sc.nextLine();
          String[] l = line.split(" ");
          int a = Integer.parseInt(l[0]);
          String op = l[1];
          int b = Integer.parseInt(l[2]);

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

        Scanner sc = new Scanner(System.in);

        for(int i = 0; i < 20000; i++) {
          String line = sc.nextLine();
          String[] l = line.split(" ");
          int a = Integer.parseInt(l[0]);
          String op = l[1];
          int b = Integer.parseInt(l[2]);

          if(op.equals("?")) {
            break;
          } else if(op.equals("+")) {
            System.out.println(a + b); 
          } else if(op.equals("-")) {
            System.out.println(a - b); 
          } else if(op.equals("*")) {
            System.out.println(a * b); 
          } else if(op.equals("/")) {
            System.out.println(a / b); 
          }   
        }   
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) for(int i = 0; i < 20000; i++) {
          String line = sc.nextLine();
          String[] l = line.split(" ");
          int a = Integer.parseInt(l[0]);
          String op = l[1];
          int b = Integer.parseInt(l[2]);

          if(op.equals("?")) {
            break;
          } else if(op.equals("+")) {
            System.out.println(a + b); 
          } else if(op.equals("-")) {
            System.out.println(a - b); 
          } else if(op.equals("*")) {
            System.out.println(a * b); 
          } else if(op.equals("/")) {
            System.out.println(a / b); 
          }   
        } int i = 0; int i = 0; i 0 i < 20000 i 20000 i++ i++ i {
          String line = sc.nextLine();
          String[] l = line.split(" ");
          int a = Integer.parseInt(l[0]);
          String op = l[1];
          int b = Integer.parseInt(l[2]);

          if(op.equals("?")) {
            break;
          } else if(op.equals("+")) {
            System.out.println(a + b); 
          } else if(op.equals("-")) {
            System.out.println(a - b); 
          } else if(op.equals("*")) {
            System.out.println(a * b); 
          } else if(op.equals("/")) {
            System.out.println(a / b); 
          }   
        } {
          String line = sc.nextLine();
          String[] l = line.split(" ");
          int a = Integer.parseInt(l[0]);
          String op = l[1];
          int b = Integer.parseInt(l[2]);

          if(op.equals("?")) {
            break;
          } else if(op.equals("+")) {
            System.out.println(a + b); 
          } else if(op.equals("-")) {
            System.out.println(a - b); 
          } else if(op.equals("*")) {
            System.out.println(a * b); 
          } else if(op.equals("/")) {
            System.out.println(a / b); 
          }   
        } String line = sc.nextLine(); line sc.nextLine() sc.nextLine sc String[] l = line.split(" "); l line.split(" ") line.split line " " int a = Integer.parseInt(l[0]); a Integer.parseInt(l[0]) Integer.parseInt Integer l[0] l 0 String op = l[1]; op l[1] l 1 int b = Integer.parseInt(l[2]); b Integer.parseInt(l[2]) Integer.parseInt Integer l[2] l 2 if(op.equals("?")) {
            break;
          } else if(op.equals("+")) {
            System.out.println(a + b); 
          } else if(op.equals("-")) {
            System.out.println(a - b); 
          } else if(op.equals("*")) {
            System.out.println(a * b); 
          } else if(op.equals("/")) {
            System.out.println(a / b); 
          } op.equals("?") op.equals op "?" {
            break;
          } break; if(op.equals("+")) {
            System.out.println(a + b); 
          } else if(op.equals("-")) {
            System.out.println(a - b); 
          } else if(op.equals("*")) {
            System.out.println(a * b); 
          } else if(op.equals("/")) {
            System.out.println(a / b); 
          } op.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(op.equals("-")) {
            System.out.println(a - b); 
          } else if(op.equals("*")) {
            System.out.println(a * b); 
          } else if(op.equals("/")) {
            System.out.println(a / b); 
          } op.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(op.equals("*")) {
            System.out.println(a * b); 
          } else if(op.equals("/")) {
            System.out.println(a / b); 
          } op.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(op.equals("/")) {
            System.out.println(a / b); 
          } op.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 public class Main {
    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);

        for(int i = 0; i < 20000; i++) {
          String line = sc.nextLine();
          String[] l = line.split(" ");
          int a = Integer.parseInt(l[0]);
          String op = l[1];
          int b = Integer.parseInt(l[2]);

          if(op.equals("?")) {
            break;
          } else if(op.equals("+")) {
            System.out.println(a + b); 
          } else if(op.equals("-")) {
            System.out.println(a - b); 
          } else if(op.equals("*")) {
            System.out.println(a * b); 
          } else if(op.equals("/")) {
            System.out.println(a / b); 
          }   
        }   
    }   
} public class Main {
    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);

        for(int i = 0; i < 20000; i++) {
          String line = sc.nextLine();
          String[] l = line.split(" ");
          int a = Integer.parseInt(l[0]);
          String op = l[1];
          int b = Integer.parseInt(l[2]);

          if(op.equals("?")) {
            break;
          } else if(op.equals("+")) {
            System.out.println(a + b); 
          } else if(op.equals("-")) {
            System.out.println(a - b); 
          } else if(op.equals("*")) {
            System.out.println(a * b); 
          } else if(op.equals("/")) {
            System.out.println(a / b); 
          }   
        }   
    }   
} Main
import java.util.*;                                                                                  

public class Main {
    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);

        for(int i = 0; i < 20000; i++) {
          String line = sc.nextLine();
          String[] l = line.split(" ");
          int a = Integer.parseInt(l[0]);
          String op = l[1];
          int b = Integer.parseInt(l[2]);

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