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



public class Main {
    public static void main(String[] args)throws Exception{
        Scanner scan = new Scanner(System.in);
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        int a = 0;
        int b = 0;
        String op = "null";
        int S = 0;
        int i = 0;
        while(i == 0){
            a = scan.nextInt();
            op = scan.next();
            b = scan.nextInt();
            
            
            if(op.equals("+")){
                S = a + b;
                System.out.println(S);
            }else  if(op.equals("-")){
                S = a - b;
                System.out.println(S);
            }else  if(op.equals("*")){
                S = a * b;
                System.out.println(S);
            }else  if(op.equals("/")){
                S = a / b;
                System.out.println(S);
            }else if(op.equals("?")){
                i = 1;
            }
        }
     }
    
}
 import java.io.*; io.* java import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args)throws Exception{
        Scanner scan = new Scanner(System.in);
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        int a = 0;
        int b = 0;
        String op = "null";
        int S = 0;
        int i = 0;
        while(i == 0){
            a = scan.nextInt();
            op = scan.next();
            b = scan.nextInt();
            
            
            if(op.equals("+")){
                S = a + b;
                System.out.println(S);
            }else  if(op.equals("-")){
                S = a - b;
                System.out.println(S);
            }else  if(op.equals("*")){
                S = a * b;
                System.out.println(S);
            }else  if(op.equals("/")){
                S = a / b;
                System.out.println(S);
            }else if(op.equals("?")){
                i = 1;
            }
        }
     }
    
} Main public static void main(String[] args)throws Exception{
        Scanner scan = new Scanner(System.in);
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        int a = 0;
        int b = 0;
        String op = "null";
        int S = 0;
        int i = 0;
        while(i == 0){
            a = scan.nextInt();
            op = scan.next();
            b = scan.nextInt();
            
            
            if(op.equals("+")){
                S = a + b;
                System.out.println(S);
            }else  if(op.equals("-")){
                S = a - b;
                System.out.println(S);
            }else  if(op.equals("*")){
                S = a * b;
                System.out.println(S);
            }else  if(op.equals("/")){
                S = a / b;
                System.out.println(S);
            }else if(op.equals("?")){
                i = 1;
            }
        }
     } main {
        Scanner scan = new Scanner(System.in);
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        int a = 0;
        int b = 0;
        String op = "null";
        int S = 0;
        int i = 0;
        while(i == 0){
            a = scan.nextInt();
            op = scan.next();
            b = scan.nextInt();
            
            
            if(op.equals("+")){
                S = a + b;
                System.out.println(S);
            }else  if(op.equals("-")){
                S = a - b;
                System.out.println(S);
            }else  if(op.equals("*")){
                S = a * b;
                System.out.println(S);
            }else  if(op.equals("/")){
                S = a / b;
                System.out.println(S);
            }else if(op.equals("?")){
                i = 1;
            }
        }
     } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) int a = 0; a 0 int b = 0; b 0 String op = "null"; op "null" int S = 0; S 0 int i = 0; i 0 while(i == 0){
            a = scan.nextInt();
            op = scan.next();
            b = scan.nextInt();
            
            
            if(op.equals("+")){
                S = a + b;
                System.out.println(S);
            }else  if(op.equals("-")){
                S = a - b;
                System.out.println(S);
            }else  if(op.equals("*")){
                S = a * b;
                System.out.println(S);
            }else  if(op.equals("/")){
                S = a / b;
                System.out.println(S);
            }else if(op.equals("?")){
                i = 1;
            }
        } i == 0 i 0 {
            a = scan.nextInt();
            op = scan.next();
            b = scan.nextInt();
            
            
            if(op.equals("+")){
                S = a + b;
                System.out.println(S);
            }else  if(op.equals("-")){
                S = a - b;
                System.out.println(S);
            }else  if(op.equals("*")){
                S = a * b;
                System.out.println(S);
            }else  if(op.equals("/")){
                S = a / b;
                System.out.println(S);
            }else if(op.equals("?")){
                i = 1;
            }
        } a = scan.nextInt() a scan.nextInt() scan.nextInt scan op = scan.next() op scan.next() scan.next scan b = scan.nextInt() b scan.nextInt() scan.nextInt scan if(op.equals("+")){
                S = a + b;
                System.out.println(S);
            }else  if(op.equals("-")){
                S = a - b;
                System.out.println(S);
            }else  if(op.equals("*")){
                S = a * b;
                System.out.println(S);
            }else  if(op.equals("/")){
                S = a / b;
                System.out.println(S);
            }else if(op.equals("?")){
                i = 1;
            } op.equals("+") op.equals op "+" {
                S = a + b;
                System.out.println(S);
            } S = a + b S a + b a b System.out.println(S) System.out.println System.out System System.out S if(op.equals("-")){
                S = a - b;
                System.out.println(S);
            }else  if(op.equals("*")){
                S = a * b;
                System.out.println(S);
            }else  if(op.equals("/")){
                S = a / b;
                System.out.println(S);
            }else if(op.equals("?")){
                i = 1;
            } op.equals("-") op.equals op "-" {
                S = a - b;
                System.out.println(S);
            } S = a - b S a - b a b System.out.println(S) System.out.println System.out System System.out S if(op.equals("*")){
                S = a * b;
                System.out.println(S);
            }else  if(op.equals("/")){
                S = a / b;
                System.out.println(S);
            }else if(op.equals("?")){
                i = 1;
            } op.equals("*") op.equals op "*" {
                S = a * b;
                System.out.println(S);
            } S = a * b S a * b a b System.out.println(S) System.out.println System.out System System.out S if(op.equals("/")){
                S = a / b;
                System.out.println(S);
            }else if(op.equals("?")){
                i = 1;
            } op.equals("/") op.equals op "/" {
                S = a / b;
                System.out.println(S);
            } S = a / b S a / b a b System.out.println(S) System.out.println System.out System System.out S if(op.equals("?")){
                i = 1;
            } op.equals("?") op.equals op "?" {
                i = 1;
            } i = 1 i 1 String[] args args public class Main {
    public static void main(String[] args)throws Exception{
        Scanner scan = new Scanner(System.in);
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        int a = 0;
        int b = 0;
        String op = "null";
        int S = 0;
        int i = 0;
        while(i == 0){
            a = scan.nextInt();
            op = scan.next();
            b = scan.nextInt();
            
            
            if(op.equals("+")){
                S = a + b;
                System.out.println(S);
            }else  if(op.equals("-")){
                S = a - b;
                System.out.println(S);
            }else  if(op.equals("*")){
                S = a * b;
                System.out.println(S);
            }else  if(op.equals("/")){
                S = a / b;
                System.out.println(S);
            }else if(op.equals("?")){
                i = 1;
            }
        }
     }
    
} public class Main {
    public static void main(String[] args)throws Exception{
        Scanner scan = new Scanner(System.in);
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        int a = 0;
        int b = 0;
        String op = "null";
        int S = 0;
        int i = 0;
        while(i == 0){
            a = scan.nextInt();
            op = scan.next();
            b = scan.nextInt();
            
            
            if(op.equals("+")){
                S = a + b;
                System.out.println(S);
            }else  if(op.equals("-")){
                S = a - b;
                System.out.println(S);
            }else  if(op.equals("*")){
                S = a * b;
                System.out.println(S);
            }else  if(op.equals("/")){
                S = a / b;
                System.out.println(S);
            }else if(op.equals("?")){
                i = 1;
            }
        }
     }
    
} Main
import java.io.*;
import java.util.Scanner;



public class Main {
    public static void main(String[] args)throws Exception{
        Scanner scan = new Scanner(System.in);
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        int a = 0;
        int b = 0;
        String op = "null";
        int S = 0;
        int i = 0;
        while(i == 0){
            a = scan.nextInt();
            op = scan.next();
            b = scan.nextInt();
            
            
            if(op.equals("+")){
                S = a + b;
                System.out.println(S);
            }else  if(op.equals("-")){
                S = a - b;
                System.out.println(S);
            }else  if(op.equals("*")){
                S = a * b;
                System.out.println(S);
            }else  if(op.equals("/")){
                S = a / b;
                System.out.println(S);
            }else if(op.equals("?")){
                i = 1;
            }
        }
     }
    
}

