import java.util.Scanner;

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.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);
            else break;
        }
     }
} import java.util.Scanner; Scanner java.util 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.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);
            else break;
        }
     }
} 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.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);
            else break;
        }
     } 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.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);
            else break;
        }
     } 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.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);
            else break;
        } true {
            int a = scan.nextInt();
            String op = scan.next();
            int b = scan.nextInt();
            
            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);
            else break;
        } 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.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);
            else break; op.equals("+") op.equals op "+" 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);
            else break; op.equals("-") op.equals op "-" 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 break; op.equals("*") op.equals op "*" 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 break; op.equals("/") op.equals op "/" System.out.println(a/b) System.out.println System.out System System.out a/b a b break; String[] args args
import java.util.Scanner;

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.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);
            else break;
        }
     }
}