import java.io.*;

class Main
{
    public static void main (String[ ] args) throws Exception
    {
        BufferedReader br = new BufferedReader (new InputStreamReader (System.in));
        StringBuffer sb = new StringBuffer();
        
        while(true)
        {
            String[] strAry = (br.readLine()).split(" ");
            int a     = Integer.parseInt(strAry[0]);
            String op = strAry[1];
            int b     = Integer.parseInt(strAry[2]);
        
            if(true == op.equals("?"))
            {
                break;
            }

            switch(op.charAt(0))
            {
            case '*':
                sb.append(a * b).append("\n");
                break;
            case '/':
                sb.append(a / b).append("\n");
                break;
            case '+':
                sb.append(a + b).append("\n");
                break;
            case '-':
                sb.append(a - b).append("\n");
                break;
            }
        }
        System.out.print(sb);
    }
} import java.io.*; io.* java class Main
{
    public static void main (String[ ] args) throws Exception
    {
        BufferedReader br = new BufferedReader (new InputStreamReader (System.in));
        StringBuffer sb = new StringBuffer();
        
        while(true)
        {
            String[] strAry = (br.readLine()).split(" ");
            int a     = Integer.parseInt(strAry[0]);
            String op = strAry[1];
            int b     = Integer.parseInt(strAry[2]);
        
            if(true == op.equals("?"))
            {
                break;
            }

            switch(op.charAt(0))
            {
            case '*':
                sb.append(a * b).append("\n");
                break;
            case '/':
                sb.append(a / b).append("\n");
                break;
            case '+':
                sb.append(a + b).append("\n");
                break;
            case '-':
                sb.append(a - b).append("\n");
                break;
            }
        }
        System.out.print(sb);
    }
} Main public static void main (String[ ] args) throws Exception
    {
        BufferedReader br = new BufferedReader (new InputStreamReader (System.in));
        StringBuffer sb = new StringBuffer();
        
        while(true)
        {
            String[] strAry = (br.readLine()).split(" ");
            int a     = Integer.parseInt(strAry[0]);
            String op = strAry[1];
            int b     = Integer.parseInt(strAry[2]);
        
            if(true == op.equals("?"))
            {
                break;
            }

            switch(op.charAt(0))
            {
            case '*':
                sb.append(a * b).append("\n");
                break;
            case '/':
                sb.append(a / b).append("\n");
                break;
            case '+':
                sb.append(a + b).append("\n");
                break;
            case '-':
                sb.append(a - b).append("\n");
                break;
            }
        }
        System.out.print(sb);
    } main {
        BufferedReader br = new BufferedReader (new InputStreamReader (System.in));
        StringBuffer sb = new StringBuffer();
        
        while(true)
        {
            String[] strAry = (br.readLine()).split(" ");
            int a     = Integer.parseInt(strAry[0]);
            String op = strAry[1];
            int b     = Integer.parseInt(strAry[2]);
        
            if(true == op.equals("?"))
            {
                break;
            }

            switch(op.charAt(0))
            {
            case '*':
                sb.append(a * b).append("\n");
                break;
            case '/':
                sb.append(a / b).append("\n");
                break;
            case '+':
                sb.append(a + b).append("\n");
                break;
            case '-':
                sb.append(a - b).append("\n");
                break;
            }
        }
        System.out.print(sb);
    } BufferedReader br = new BufferedReader (new InputStreamReader (System.in)); br new BufferedReader (new InputStreamReader (System.in)) StringBuffer sb = new StringBuffer(); sb new StringBuffer() while(true)
        {
            String[] strAry = (br.readLine()).split(" ");
            int a     = Integer.parseInt(strAry[0]);
            String op = strAry[1];
            int b     = Integer.parseInt(strAry[2]);
        
            if(true == op.equals("?"))
            {
                break;
            }

            switch(op.charAt(0))
            {
            case '*':
                sb.append(a * b).append("\n");
                break;
            case '/':
                sb.append(a / b).append("\n");
                break;
            case '+':
                sb.append(a + b).append("\n");
                break;
            case '-':
                sb.append(a - b).append("\n");
                break;
            }
        } true {
            String[] strAry = (br.readLine()).split(" ");
            int a     = Integer.parseInt(strAry[0]);
            String op = strAry[1];
            int b     = Integer.parseInt(strAry[2]);
        
            if(true == op.equals("?"))
            {
                break;
            }

            switch(op.charAt(0))
            {
            case '*':
                sb.append(a * b).append("\n");
                break;
            case '/':
                sb.append(a / b).append("\n");
                break;
            case '+':
                sb.append(a + b).append("\n");
                break;
            case '-':
                sb.append(a - b).append("\n");
                break;
            }
        } String[] strAry = (br.readLine()).split(" "); strAry (br.readLine()).split(" ") (br.readLine()).split (br.readLine()) br.readLine br " " int a     = Integer.parseInt(strAry[0]); a Integer.parseInt(strAry[0]) Integer.parseInt Integer strAry[0] strAry 0 String op = strAry[1]; op strAry[1] strAry 1 int b     = Integer.parseInt(strAry[2]); b Integer.parseInt(strAry[2]) Integer.parseInt Integer strAry[2] strAry 2 if(true == op.equals("?"))
            {
                break;
            } true == op.equals("?") true op.equals("?") op.equals op "?" {
                break;
            } break; switch(op.charAt(0))
            {
            case '*':
                sb.append(a * b).append("\n");
                break;
            case '/':
                sb.append(a / b).append("\n");
                break;
            case '+':
                sb.append(a + b).append("\n");
                break;
            case '-':
                sb.append(a - b).append("\n");
                break;
            } op.charAt(0) op.charAt op 0 case '*': '*' case '*': sb.append(a * b).append("\n") sb.append(a * b).append sb.append(a * b) sb.append sb a * b a b "\n" break; case '/': '/' case '/': sb.append(a / b).append("\n") sb.append(a / b).append sb.append(a / b) sb.append sb a / b a b "\n" break; case '+': '+' case '+': sb.append(a + b).append("\n") sb.append(a + b).append sb.append(a + b) sb.append sb a + b a b "\n" break; case '-': '-' case '-': sb.append(a - b).append("\n") sb.append(a - b).append sb.append(a - b) sb.append sb a - b a b "\n" break; System.out.print(sb) System.out.print System.out System System.out sb String[ ] args args
import java.io.*;

class Main
{
    public static void main (String[ ] args) throws Exception
    {
        BufferedReader br = new BufferedReader (new InputStreamReader (System.in));
        StringBuffer sb = new StringBuffer();
        
        while(true)
        {
            String[] strAry = (br.readLine()).split(" ");
            int a     = Integer.parseInt(strAry[0]);
            String op = strAry[1];
            int b     = Integer.parseInt(strAry[2]);
        
            if(true == op.equals("?"))
            {
                break;
            }

            switch(op.charAt(0))
            {
            case '*':
                sb.append(a * b).append("\n");
                break;
            case '/':
                sb.append(a / b).append("\n");
                break;
            case '+':
                sb.append(a + b).append("\n");
                break;
            case '-':
                sb.append(a - b).append("\n");
                break;
            }
        }
        System.out.print(sb);
    }
}