import java.io.*;

public class Main{
    public static void main(String[]args) throws NumberFormatException, IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        while(true){
            

            String[]str= br.readLine().split(" ");
            int a = Integer.parseInt(str[0]);
            String op = (str[1]);
            int b = Integer.parseInt(str[2]);
            int result = 0;
            
            if("?".equals(op)){
                break;
            }else if("+".equals(op)){
                result=a+b;
            }else if("-".equals(op)){
                result=a-b;
            }else if("*".equals(op)){
                result=a*b;
            }else if("/".equals(op)){
                result=a/b;
            }
           
               System.out.println(result);
        }
    }
} import java.io.*; io.* java public class Main{
    public static void main(String[]args) throws NumberFormatException, IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        while(true){
            

            String[]str= br.readLine().split(" ");
            int a = Integer.parseInt(str[0]);
            String op = (str[1]);
            int b = Integer.parseInt(str[2]);
            int result = 0;
            
            if("?".equals(op)){
                break;
            }else if("+".equals(op)){
                result=a+b;
            }else if("-".equals(op)){
                result=a-b;
            }else if("*".equals(op)){
                result=a*b;
            }else if("/".equals(op)){
                result=a/b;
            }
           
               System.out.println(result);
        }
    }
} Main public static void main(String[]args) throws NumberFormatException, IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        while(true){
            

            String[]str= br.readLine().split(" ");
            int a = Integer.parseInt(str[0]);
            String op = (str[1]);
            int b = Integer.parseInt(str[2]);
            int result = 0;
            
            if("?".equals(op)){
                break;
            }else if("+".equals(op)){
                result=a+b;
            }else if("-".equals(op)){
                result=a-b;
            }else if("*".equals(op)){
                result=a*b;
            }else if("/".equals(op)){
                result=a/b;
            }
           
               System.out.println(result);
        }
    } main {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        while(true){
            

            String[]str= br.readLine().split(" ");
            int a = Integer.parseInt(str[0]);
            String op = (str[1]);
            int b = Integer.parseInt(str[2]);
            int result = 0;
            
            if("?".equals(op)){
                break;
            }else if("+".equals(op)){
                result=a+b;
            }else if("-".equals(op)){
                result=a-b;
            }else if("*".equals(op)){
                result=a*b;
            }else if("/".equals(op)){
                result=a/b;
            }
           
               System.out.println(result);
        }
    } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) while(true){
            

            String[]str= br.readLine().split(" ");
            int a = Integer.parseInt(str[0]);
            String op = (str[1]);
            int b = Integer.parseInt(str[2]);
            int result = 0;
            
            if("?".equals(op)){
                break;
            }else if("+".equals(op)){
                result=a+b;
            }else if("-".equals(op)){
                result=a-b;
            }else if("*".equals(op)){
                result=a*b;
            }else if("/".equals(op)){
                result=a/b;
            }
           
               System.out.println(result);
        } true {
            

            String[]str= br.readLine().split(" ");
            int a = Integer.parseInt(str[0]);
            String op = (str[1]);
            int b = Integer.parseInt(str[2]);
            int result = 0;
            
            if("?".equals(op)){
                break;
            }else if("+".equals(op)){
                result=a+b;
            }else if("-".equals(op)){
                result=a-b;
            }else if("*".equals(op)){
                result=a*b;
            }else if("/".equals(op)){
                result=a/b;
            }
           
               System.out.println(result);
        } String[]str= br.readLine().split(" "); str br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " int a = Integer.parseInt(str[0]); a Integer.parseInt(str[0]) Integer.parseInt Integer str[0] str 0 String op = (str[1]); op (str[1]) str 1 int b = Integer.parseInt(str[2]); b Integer.parseInt(str[2]) Integer.parseInt Integer str[2] str 2 int result = 0; result 0 if("?".equals(op)){
                break;
            }else if("+".equals(op)){
                result=a+b;
            }else if("-".equals(op)){
                result=a-b;
            }else if("*".equals(op)){
                result=a*b;
            }else if("/".equals(op)){
                result=a/b;
            } "?".equals(op) "?".equals "?" op {
                break;
            } break; if("+".equals(op)){
                result=a+b;
            }else if("-".equals(op)){
                result=a-b;
            }else if("*".equals(op)){
                result=a*b;
            }else if("/".equals(op)){
                result=a/b;
            } "+".equals(op) "+".equals "+" op {
                result=a+b;
            } result=a+b result a+b a b if("-".equals(op)){
                result=a-b;
            }else if("*".equals(op)){
                result=a*b;
            }else if("/".equals(op)){
                result=a/b;
            } "-".equals(op) "-".equals "-" op {
                result=a-b;
            } result=a-b result a-b a b if("*".equals(op)){
                result=a*b;
            }else if("/".equals(op)){
                result=a/b;
            } "*".equals(op) "*".equals "*" op {
                result=a*b;
            } result=a*b result a*b a b if("/".equals(op)){
                result=a/b;
            } "/".equals(op) "/".equals "/" op {
                result=a/b;
            } result=a/b result a/b a b System.out.println(result) System.out.println System.out System System.out result String[]args args public class Main{
    public static void main(String[]args) throws NumberFormatException, IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        while(true){
            

            String[]str= br.readLine().split(" ");
            int a = Integer.parseInt(str[0]);
            String op = (str[1]);
            int b = Integer.parseInt(str[2]);
            int result = 0;
            
            if("?".equals(op)){
                break;
            }else if("+".equals(op)){
                result=a+b;
            }else if("-".equals(op)){
                result=a-b;
            }else if("*".equals(op)){
                result=a*b;
            }else if("/".equals(op)){
                result=a/b;
            }
           
               System.out.println(result);
        }
    }
} public class Main{
    public static void main(String[]args) throws NumberFormatException, IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        while(true){
            

            String[]str= br.readLine().split(" ");
            int a = Integer.parseInt(str[0]);
            String op = (str[1]);
            int b = Integer.parseInt(str[2]);
            int result = 0;
            
            if("?".equals(op)){
                break;
            }else if("+".equals(op)){
                result=a+b;
            }else if("-".equals(op)){
                result=a-b;
            }else if("*".equals(op)){
                result=a*b;
            }else if("/".equals(op)){
                result=a/b;
            }
           
               System.out.println(result);
        }
    }
} Main
import java.io.*;

public class Main{
    public static void main(String[]args) throws NumberFormatException, IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        while(true){
            

            String[]str= br.readLine().split(" ");
            int a = Integer.parseInt(str[0]);
            String op = (str[1]);
            int b = Integer.parseInt(str[2]);
            int result = 0;
            
            if("?".equals(op)){
                break;
            }else if("+".equals(op)){
                result=a+b;
            }else if("-".equals(op)){
                result=a-b;
            }else if("*".equals(op)){
                result=a*b;
            }else if("/".equals(op)){
                result=a/b;
            }
           
               System.out.println(result);
        }
    }
}