import java.io.*;
import java.util.*;

class Main{
    public static void main(String[] args)throws IOException{
    	int a, b, ans;
        char op;
        
        Scanner scan = new Scanner(System.in);
        
        String str = scan.next();
        a = Integer.parseInt(str);
        
        str = scan.next();
        op = str.charAt(0);
        
        str = scan.next();
        b = Integer.parseInt(str);
        
        while (true){
            
            if (op == '+'){
                ans = a + b;
                System.out.println(ans);
            }
            else if (op == '-'){
                ans = a - b;
                System.out.println(ans);
            }
            else if (op == '*'){
                ans = a * b;
                System.out.println(ans);
            }
            else if (op == '/'){
                ans = a / b;
                System.out.println(ans);
            }
            else break;
            
            str = scan.next();
            a = Integer.parseInt(str);
            
            str = scan.next();
            op = str.charAt(0);
            
            str = scan.next();
            b = Integer.parseInt(str);
        }
    }
} import java.io.*; io.* java import java.util.*; util.* java class Main{
    public static void main(String[] args)throws IOException{
    	int a, b, ans;
        char op;
        
        Scanner scan = new Scanner(System.in);
        
        String str = scan.next();
        a = Integer.parseInt(str);
        
        str = scan.next();
        op = str.charAt(0);
        
        str = scan.next();
        b = Integer.parseInt(str);
        
        while (true){
            
            if (op == '+'){
                ans = a + b;
                System.out.println(ans);
            }
            else if (op == '-'){
                ans = a - b;
                System.out.println(ans);
            }
            else if (op == '*'){
                ans = a * b;
                System.out.println(ans);
            }
            else if (op == '/'){
                ans = a / b;
                System.out.println(ans);
            }
            else break;
            
            str = scan.next();
            a = Integer.parseInt(str);
            
            str = scan.next();
            op = str.charAt(0);
            
            str = scan.next();
            b = Integer.parseInt(str);
        }
    }
} Main public static void main(String[] args)throws IOException{
    	int a, b, ans;
        char op;
        
        Scanner scan = new Scanner(System.in);
        
        String str = scan.next();
        a = Integer.parseInt(str);
        
        str = scan.next();
        op = str.charAt(0);
        
        str = scan.next();
        b = Integer.parseInt(str);
        
        while (true){
            
            if (op == '+'){
                ans = a + b;
                System.out.println(ans);
            }
            else if (op == '-'){
                ans = a - b;
                System.out.println(ans);
            }
            else if (op == '*'){
                ans = a * b;
                System.out.println(ans);
            }
            else if (op == '/'){
                ans = a / b;
                System.out.println(ans);
            }
            else break;
            
            str = scan.next();
            a = Integer.parseInt(str);
            
            str = scan.next();
            op = str.charAt(0);
            
            str = scan.next();
            b = Integer.parseInt(str);
        }
    } main {
    	int a, b, ans;
        char op;
        
        Scanner scan = new Scanner(System.in);
        
        String str = scan.next();
        a = Integer.parseInt(str);
        
        str = scan.next();
        op = str.charAt(0);
        
        str = scan.next();
        b = Integer.parseInt(str);
        
        while (true){
            
            if (op == '+'){
                ans = a + b;
                System.out.println(ans);
            }
            else if (op == '-'){
                ans = a - b;
                System.out.println(ans);
            }
            else if (op == '*'){
                ans = a * b;
                System.out.println(ans);
            }
            else if (op == '/'){
                ans = a / b;
                System.out.println(ans);
            }
            else break;
            
            str = scan.next();
            a = Integer.parseInt(str);
            
            str = scan.next();
            op = str.charAt(0);
            
            str = scan.next();
            b = Integer.parseInt(str);
        }
    } int a a b b ans; ans char op; op Scanner scan = new Scanner(System.in); scan new Scanner(System.in) String str = scan.next(); str scan.next() scan.next scan a = Integer.parseInt(str) a Integer.parseInt(str) Integer.parseInt Integer str str = scan.next() str scan.next() scan.next scan op = str.charAt(0) op str.charAt(0) str.charAt str 0 str = scan.next() str scan.next() scan.next scan b = Integer.parseInt(str) b Integer.parseInt(str) Integer.parseInt Integer str while (true){
            
            if (op == '+'){
                ans = a + b;
                System.out.println(ans);
            }
            else if (op == '-'){
                ans = a - b;
                System.out.println(ans);
            }
            else if (op == '*'){
                ans = a * b;
                System.out.println(ans);
            }
            else if (op == '/'){
                ans = a / b;
                System.out.println(ans);
            }
            else break;
            
            str = scan.next();
            a = Integer.parseInt(str);
            
            str = scan.next();
            op = str.charAt(0);
            
            str = scan.next();
            b = Integer.parseInt(str);
        } true {
            
            if (op == '+'){
                ans = a + b;
                System.out.println(ans);
            }
            else if (op == '-'){
                ans = a - b;
                System.out.println(ans);
            }
            else if (op == '*'){
                ans = a * b;
                System.out.println(ans);
            }
            else if (op == '/'){
                ans = a / b;
                System.out.println(ans);
            }
            else break;
            
            str = scan.next();
            a = Integer.parseInt(str);
            
            str = scan.next();
            op = str.charAt(0);
            
            str = scan.next();
            b = Integer.parseInt(str);
        } if (op == '+'){
                ans = a + b;
                System.out.println(ans);
            }
            else if (op == '-'){
                ans = a - b;
                System.out.println(ans);
            }
            else if (op == '*'){
                ans = a * b;
                System.out.println(ans);
            }
            else if (op == '/'){
                ans = a / b;
                System.out.println(ans);
            }
            else break; op == '+' op '+' {
                ans = a + b;
                System.out.println(ans);
            } ans = a + b ans a + b a b System.out.println(ans) System.out.println System.out System System.out ans if (op == '-'){
                ans = a - b;
                System.out.println(ans);
            }
            else if (op == '*'){
                ans = a * b;
                System.out.println(ans);
            }
            else if (op == '/'){
                ans = a / b;
                System.out.println(ans);
            }
            else break; op == '-' op '-' {
                ans = a - b;
                System.out.println(ans);
            } ans = a - b ans a - b a b System.out.println(ans) System.out.println System.out System System.out ans if (op == '*'){
                ans = a * b;
                System.out.println(ans);
            }
            else if (op == '/'){
                ans = a / b;
                System.out.println(ans);
            }
            else break; op == '*' op '*' {
                ans = a * b;
                System.out.println(ans);
            } ans = a * b ans a * b a b System.out.println(ans) System.out.println System.out System System.out ans if (op == '/'){
                ans = a / b;
                System.out.println(ans);
            }
            else break; op == '/' op '/' {
                ans = a / b;
                System.out.println(ans);
            } ans = a / b ans a / b a b System.out.println(ans) System.out.println System.out System System.out ans break; str = scan.next() str scan.next() scan.next scan a = Integer.parseInt(str) a Integer.parseInt(str) Integer.parseInt Integer str str = scan.next() str scan.next() scan.next scan op = str.charAt(0) op str.charAt(0) str.charAt str 0 str = scan.next() str scan.next() scan.next scan b = Integer.parseInt(str) b Integer.parseInt(str) Integer.parseInt Integer str String[] args args
import java.io.*;
import java.util.*;

class Main{
    public static void main(String[] args)throws IOException{
    	int a, b, ans;
        char op;
        
        Scanner scan = new Scanner(System.in);
        
        String str = scan.next();
        a = Integer.parseInt(str);
        
        str = scan.next();
        op = str.charAt(0);
        
        str = scan.next();
        b = Integer.parseInt(str);
        
        while (true){
            
            if (op == '+'){
                ans = a + b;
                System.out.println(ans);
            }
            else if (op == '-'){
                ans = a - b;
                System.out.println(ans);
            }
            else if (op == '*'){
                ans = a * b;
                System.out.println(ans);
            }
            else if (op == '/'){
                ans = a / b;
                System.out.println(ans);
            }
            else break;
            
            str = scan.next();
            a = Integer.parseInt(str);
            
            str = scan.next();
            op = str.charAt(0);
            
            str = scan.next();
            b = Integer.parseInt(str);
        }
    }
}