import java.util.Scanner;
 
public class Main{
    public static void main(String[] args){
        
        Scanner scan = new Scanner(System.in);
 
         
        while(true){
         
        int a = scan.nextInt();
        String op = scan.next();
        int b = scan.nextInt();
     
 
         
        if(op.equals("+")){
        System.out.printf("%d\n",a+b);
            }
        if(op.equals("-")){
            System.out.printf("%d\n",a-b);
            }
        if(op.equals("*")){
            System.out.printf("%d\n",a*b);
            }
        if(op.equals("/")){
            System.out.printf("%d\n",a/b);
            }
        if(op.equals("?")){
            return;
        }
        }
    }   
} import java.util.Scanner; Scanner java.util public class Main{
    public static void main(String[] args){
        
        Scanner scan = new Scanner(System.in);
 
         
        while(true){
         
        int a = scan.nextInt();
        String op = scan.next();
        int b = scan.nextInt();
     
 
         
        if(op.equals("+")){
        System.out.printf("%d\n",a+b);
            }
        if(op.equals("-")){
            System.out.printf("%d\n",a-b);
            }
        if(op.equals("*")){
            System.out.printf("%d\n",a*b);
            }
        if(op.equals("/")){
            System.out.printf("%d\n",a/b);
            }
        if(op.equals("?")){
            return;
        }
        }
    }   
} Main public static void main(String[] args){
        
        Scanner scan = new Scanner(System.in);
 
         
        while(true){
         
        int a = scan.nextInt();
        String op = scan.next();
        int b = scan.nextInt();
     
 
         
        if(op.equals("+")){
        System.out.printf("%d\n",a+b);
            }
        if(op.equals("-")){
            System.out.printf("%d\n",a-b);
            }
        if(op.equals("*")){
            System.out.printf("%d\n",a*b);
            }
        if(op.equals("/")){
            System.out.printf("%d\n",a/b);
            }
        if(op.equals("?")){
            return;
        }
        }
    } main {
        
        Scanner scan = new Scanner(System.in);
 
         
        while(true){
         
        int a = scan.nextInt();
        String op = scan.next();
        int b = scan.nextInt();
     
 
         
        if(op.equals("+")){
        System.out.printf("%d\n",a+b);
            }
        if(op.equals("-")){
            System.out.printf("%d\n",a-b);
            }
        if(op.equals("*")){
            System.out.printf("%d\n",a*b);
            }
        if(op.equals("/")){
            System.out.printf("%d\n",a/b);
            }
        if(op.equals("?")){
            return;
        }
        }
    } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) while(true){
         
        int a = scan.nextInt();
        String op = scan.next();
        int b = scan.nextInt();
     
 
         
        if(op.equals("+")){
        System.out.printf("%d\n",a+b);
            }
        if(op.equals("-")){
            System.out.printf("%d\n",a-b);
            }
        if(op.equals("*")){
            System.out.printf("%d\n",a*b);
            }
        if(op.equals("/")){
            System.out.printf("%d\n",a/b);
            }
        if(op.equals("?")){
            return;
        }
        } true {
         
        int a = scan.nextInt();
        String op = scan.next();
        int b = scan.nextInt();
     
 
         
        if(op.equals("+")){
        System.out.printf("%d\n",a+b);
            }
        if(op.equals("-")){
            System.out.printf("%d\n",a-b);
            }
        if(op.equals("*")){
            System.out.printf("%d\n",a*b);
            }
        if(op.equals("/")){
            System.out.printf("%d\n",a/b);
            }
        if(op.equals("?")){
            return;
        }
        } int a = scan.nextInt(); a scan.nextInt() scan.nextInt scan String op = scan.next(); op scan.next() scan.next scan int b = scan.nextInt(); b scan.nextInt() scan.nextInt scan if(op.equals("+")){
        System.out.printf("%d\n",a+b);
            } op.equals("+") op.equals op "+" {
        System.out.printf("%d\n",a+b);
            } System.out.printf("%d\n",a+b) System.out.printf System.out System System.out "%d\n" a+b a b if(op.equals("-")){
            System.out.printf("%d\n",a-b);
            } op.equals("-") op.equals op "-" {
            System.out.printf("%d\n",a-b);
            } System.out.printf("%d\n",a-b) System.out.printf System.out System System.out "%d\n" a-b a b if(op.equals("*")){
            System.out.printf("%d\n",a*b);
            } op.equals("*") op.equals op "*" {
            System.out.printf("%d\n",a*b);
            } System.out.printf("%d\n",a*b) System.out.printf System.out System System.out "%d\n" a*b a b if(op.equals("/")){
            System.out.printf("%d\n",a/b);
            } op.equals("/") op.equals op "/" {
            System.out.printf("%d\n",a/b);
            } System.out.printf("%d\n",a/b) System.out.printf System.out System System.out "%d\n" a/b a b if(op.equals("?")){
            return;
        } op.equals("?") op.equals op "?" {
            return;
        } return; String[] args args public class Main{
    public static void main(String[] args){
        
        Scanner scan = new Scanner(System.in);
 
         
        while(true){
         
        int a = scan.nextInt();
        String op = scan.next();
        int b = scan.nextInt();
     
 
         
        if(op.equals("+")){
        System.out.printf("%d\n",a+b);
            }
        if(op.equals("-")){
            System.out.printf("%d\n",a-b);
            }
        if(op.equals("*")){
            System.out.printf("%d\n",a*b);
            }
        if(op.equals("/")){
            System.out.printf("%d\n",a/b);
            }
        if(op.equals("?")){
            return;
        }
        }
    }   
} public class Main{
    public static void main(String[] args){
        
        Scanner scan = new Scanner(System.in);
 
         
        while(true){
         
        int a = scan.nextInt();
        String op = scan.next();
        int b = scan.nextInt();
     
 
         
        if(op.equals("+")){
        System.out.printf("%d\n",a+b);
            }
        if(op.equals("-")){
            System.out.printf("%d\n",a-b);
            }
        if(op.equals("*")){
            System.out.printf("%d\n",a*b);
            }
        if(op.equals("/")){
            System.out.printf("%d\n",a/b);
            }
        if(op.equals("?")){
            return;
        }
        }
    }   
} Main
import java.util.Scanner;
 
public class Main{
    public static void main(String[] args){
        
        Scanner scan = new Scanner(System.in);
 
         
        while(true){
         
        int a = scan.nextInt();
        String op = scan.next();
        int b = scan.nextInt();
     
 
         
        if(op.equals("+")){
        System.out.printf("%d\n",a+b);
            }
        if(op.equals("-")){
            System.out.printf("%d\n",a-b);
            }
        if(op.equals("*")){
            System.out.printf("%d\n",a*b);
            }
        if(op.equals("/")){
            System.out.printf("%d\n",a/b);
            }
        if(op.equals("?")){
            return;
        }
        }
    }   
}