import java.util.Scanner;

class Main{
   public void yatary() {  
     int x,a,b;
       String op;
     Scanner sc = new Scanner(System.in);
     sc.useDelimiter("\\s");

       boolean sw = true;

       while(sw == true){
           a = sc.nextInt();
           op = sc.next();
           b = sc.nextInt();
           if (op.equals("+")){
               x = a + b;
               System.out.println(x);
           }else if(op.equals("-")){
               x = a - b;
               System.out.println(x);
           }else if(op.equals("*")){
               x = a * b;
               System.out.println(x);
           }else if(op.equals("/")){
               x = a / b;    
               System.out.println(x);
           }else{
                sw = false;     
           }
       }
  }

public static void main(String[] args){ 
    new Main().yatary();   
  }
}  import java.util.Scanner; Scanner java.util class Main{
   public void yatary() {  
     int x,a,b;
       String op;
     Scanner sc = new Scanner(System.in);
     sc.useDelimiter("\\s");

       boolean sw = true;

       while(sw == true){
           a = sc.nextInt();
           op = sc.next();
           b = sc.nextInt();
           if (op.equals("+")){
               x = a + b;
               System.out.println(x);
           }else if(op.equals("-")){
               x = a - b;
               System.out.println(x);
           }else if(op.equals("*")){
               x = a * b;
               System.out.println(x);
           }else if(op.equals("/")){
               x = a / b;    
               System.out.println(x);
           }else{
                sw = false;     
           }
       }
  }

public static void main(String[] args){ 
    new Main().yatary();   
  }
} Main public void yatary() {  
     int x,a,b;
       String op;
     Scanner sc = new Scanner(System.in);
     sc.useDelimiter("\\s");

       boolean sw = true;

       while(sw == true){
           a = sc.nextInt();
           op = sc.next();
           b = sc.nextInt();
           if (op.equals("+")){
               x = a + b;
               System.out.println(x);
           }else if(op.equals("-")){
               x = a - b;
               System.out.println(x);
           }else if(op.equals("*")){
               x = a * b;
               System.out.println(x);
           }else if(op.equals("/")){
               x = a / b;    
               System.out.println(x);
           }else{
                sw = false;     
           }
       }
  } yatary {  
     int x,a,b;
       String op;
     Scanner sc = new Scanner(System.in);
     sc.useDelimiter("\\s");

       boolean sw = true;

       while(sw == true){
           a = sc.nextInt();
           op = sc.next();
           b = sc.nextInt();
           if (op.equals("+")){
               x = a + b;
               System.out.println(x);
           }else if(op.equals("-")){
               x = a - b;
               System.out.println(x);
           }else if(op.equals("*")){
               x = a * b;
               System.out.println(x);
           }else if(op.equals("/")){
               x = a / b;    
               System.out.println(x);
           }else{
                sw = false;     
           }
       }
  } int x x a a b; b String op; op Scanner sc = new Scanner(System.in); sc new Scanner(System.in) sc.useDelimiter("\\s") sc.useDelimiter sc "\\s" boolean sw = true; sw true while(sw == true){
           a = sc.nextInt();
           op = sc.next();
           b = sc.nextInt();
           if (op.equals("+")){
               x = a + b;
               System.out.println(x);
           }else if(op.equals("-")){
               x = a - b;
               System.out.println(x);
           }else if(op.equals("*")){
               x = a * b;
               System.out.println(x);
           }else if(op.equals("/")){
               x = a / b;    
               System.out.println(x);
           }else{
                sw = false;     
           }
       } sw == true sw true {
           a = sc.nextInt();
           op = sc.next();
           b = sc.nextInt();
           if (op.equals("+")){
               x = a + b;
               System.out.println(x);
           }else if(op.equals("-")){
               x = a - b;
               System.out.println(x);
           }else if(op.equals("*")){
               x = a * b;
               System.out.println(x);
           }else if(op.equals("/")){
               x = a / b;    
               System.out.println(x);
           }else{
                sw = false;     
           }
       } a = sc.nextInt() a sc.nextInt() sc.nextInt sc op = sc.next() op sc.next() sc.next sc b = sc.nextInt() b sc.nextInt() sc.nextInt sc if (op.equals("+")){
               x = a + b;
               System.out.println(x);
           }else if(op.equals("-")){
               x = a - b;
               System.out.println(x);
           }else if(op.equals("*")){
               x = a * b;
               System.out.println(x);
           }else if(op.equals("/")){
               x = a / b;    
               System.out.println(x);
           }else{
                sw = false;     
           } op.equals("+") op.equals op "+" {
               x = a + b;
               System.out.println(x);
           } x = a + b x a + b a b System.out.println(x) System.out.println System.out System System.out x if(op.equals("-")){
               x = a - b;
               System.out.println(x);
           }else if(op.equals("*")){
               x = a * b;
               System.out.println(x);
           }else if(op.equals("/")){
               x = a / b;    
               System.out.println(x);
           }else{
                sw = false;     
           } op.equals("-") op.equals op "-" {
               x = a - b;
               System.out.println(x);
           } x = a - b x a - b a b System.out.println(x) System.out.println System.out System System.out x if(op.equals("*")){
               x = a * b;
               System.out.println(x);
           }else if(op.equals("/")){
               x = a / b;    
               System.out.println(x);
           }else{
                sw = false;     
           } op.equals("*") op.equals op "*" {
               x = a * b;
               System.out.println(x);
           } x = a * b x a * b a b System.out.println(x) System.out.println System.out System System.out x if(op.equals("/")){
               x = a / b;    
               System.out.println(x);
           }else{
                sw = false;     
           } op.equals("/") op.equals op "/" {
               x = a / b;    
               System.out.println(x);
           } x = a / b x a / b a b System.out.println(x) System.out.println System.out System System.out x {
                sw = false;     
           } sw = false sw false public static void main(String[] args){ 
    new Main().yatary();   
  } main { 
    new Main().yatary();   
  } new Main().yatary() new Main().yatary new Main() String[] args args
import java.util.Scanner;

class Main{
   public void yatary() {  
     int x,a,b;
       String op;
     Scanner sc = new Scanner(System.in);
     sc.useDelimiter("\\s");

       boolean sw = true;

       while(sw == true){
           a = sc.nextInt();
           op = sc.next();
           b = sc.nextInt();
           if (op.equals("+")){
               x = a + b;
               System.out.println(x);
           }else if(op.equals("-")){
               x = a - b;
               System.out.println(x);
           }else if(op.equals("*")){
               x = a * b;
               System.out.println(x);
           }else if(op.equals("/")){
               x = a / b;    
               System.out.println(x);
           }else{
                sw = false;     
           }
       }
  }

public static void main(String[] args){ 
    new Main().yatary();   
  }
} 