import static java.lang.System.*;

import java.io.*;

class Main {

    public static void main(String[] args) {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        
        try {
            while (true) {
                String[] line = reader.readLine().split(" ");
                int a = Integer.parseInt(line[0]);
                String op = line[1];
                int b = Integer.parseInt(line[2]);
                
                if (op.equals("?")) {
                    break;
                }

                switch (op) {
                case "+":
                    out.println(a + b);
                    break;

                case "-":
                    out.println(a - b);
                    break;

                case "*":
                    out.println(a * b);
                    break;

                case "/":
                    out.println(a / b);
                    break;

                default:
                    break;
                }
            } 
        } catch (NumberFormatException e) {
            out.println(e);
        } catch (IOException e) {
            out.println(e);
        }

    }

} import static java.lang.System.*; import static java.lang.System.*; import static java.lang.System.*; import java.io.*; io.* java class Main {

    public static void main(String[] args) {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        
        try {
            while (true) {
                String[] line = reader.readLine().split(" ");
                int a = Integer.parseInt(line[0]);
                String op = line[1];
                int b = Integer.parseInt(line[2]);
                
                if (op.equals("?")) {
                    break;
                }

                switch (op) {
                case "+":
                    out.println(a + b);
                    break;

                case "-":
                    out.println(a - b);
                    break;

                case "*":
                    out.println(a * b);
                    break;

                case "/":
                    out.println(a / b);
                    break;

                default:
                    break;
                }
            } 
        } catch (NumberFormatException e) {
            out.println(e);
        } catch (IOException e) {
            out.println(e);
        }

    }

} Main public static void main(String[] args) {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        
        try {
            while (true) {
                String[] line = reader.readLine().split(" ");
                int a = Integer.parseInt(line[0]);
                String op = line[1];
                int b = Integer.parseInt(line[2]);
                
                if (op.equals("?")) {
                    break;
                }

                switch (op) {
                case "+":
                    out.println(a + b);
                    break;

                case "-":
                    out.println(a - b);
                    break;

                case "*":
                    out.println(a * b);
                    break;

                case "/":
                    out.println(a / b);
                    break;

                default:
                    break;
                }
            } 
        } catch (NumberFormatException e) {
            out.println(e);
        } catch (IOException e) {
            out.println(e);
        }

    } main {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        
        try {
            while (true) {
                String[] line = reader.readLine().split(" ");
                int a = Integer.parseInt(line[0]);
                String op = line[1];
                int b = Integer.parseInt(line[2]);
                
                if (op.equals("?")) {
                    break;
                }

                switch (op) {
                case "+":
                    out.println(a + b);
                    break;

                case "-":
                    out.println(a - b);
                    break;

                case "*":
                    out.println(a * b);
                    break;

                case "/":
                    out.println(a / b);
                    break;

                default:
                    break;
                }
            } 
        } catch (NumberFormatException e) {
            out.println(e);
        } catch (IOException e) {
            out.println(e);
        }

    } BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); reader new BufferedReader(new InputStreamReader(System.in)) try {
            while (true) {
                String[] line = reader.readLine().split(" ");
                int a = Integer.parseInt(line[0]);
                String op = line[1];
                int b = Integer.parseInt(line[2]);
                
                if (op.equals("?")) {
                    break;
                }

                switch (op) {
                case "+":
                    out.println(a + b);
                    break;

                case "-":
                    out.println(a - b);
                    break;

                case "*":
                    out.println(a * b);
                    break;

                case "/":
                    out.println(a / b);
                    break;

                default:
                    break;
                }
            } 
        } catch (NumberFormatException e) {
            out.println(e);
        } catch (IOException e) {
            out.println(e);
        } catch (NumberFormatException e) {
            out.println(e);
        } NumberFormatException e {
            out.println(e);
        } out.println(e) out.println out e catch (IOException e) {
            out.println(e);
        } IOException e {
            out.println(e);
        } out.println(e) out.println out e {
            while (true) {
                String[] line = reader.readLine().split(" ");
                int a = Integer.parseInt(line[0]);
                String op = line[1];
                int b = Integer.parseInt(line[2]);
                
                if (op.equals("?")) {
                    break;
                }

                switch (op) {
                case "+":
                    out.println(a + b);
                    break;

                case "-":
                    out.println(a - b);
                    break;

                case "*":
                    out.println(a * b);
                    break;

                case "/":
                    out.println(a / b);
                    break;

                default:
                    break;
                }
            } 
        } while (true) {
                String[] line = reader.readLine().split(" ");
                int a = Integer.parseInt(line[0]);
                String op = line[1];
                int b = Integer.parseInt(line[2]);
                
                if (op.equals("?")) {
                    break;
                }

                switch (op) {
                case "+":
                    out.println(a + b);
                    break;

                case "-":
                    out.println(a - b);
                    break;

                case "*":
                    out.println(a * b);
                    break;

                case "/":
                    out.println(a / b);
                    break;

                default:
                    break;
                }
            } true {
                String[] line = reader.readLine().split(" ");
                int a = Integer.parseInt(line[0]);
                String op = line[1];
                int b = Integer.parseInt(line[2]);
                
                if (op.equals("?")) {
                    break;
                }

                switch (op) {
                case "+":
                    out.println(a + b);
                    break;

                case "-":
                    out.println(a - b);
                    break;

                case "*":
                    out.println(a * b);
                    break;

                case "/":
                    out.println(a / b);
                    break;

                default:
                    break;
                }
            } String[] line = reader.readLine().split(" "); line reader.readLine().split(" ") reader.readLine().split reader.readLine() reader.readLine reader " " int a = Integer.parseInt(line[0]); a Integer.parseInt(line[0]) Integer.parseInt Integer line[0] line 0 String op = line[1]; op line[1] line 1 int b = Integer.parseInt(line[2]); b Integer.parseInt(line[2]) Integer.parseInt Integer line[2] line 2 if (op.equals("?")) {
                    break;
                } op.equals("?") op.equals op "?" {
                    break;
                } break; switch (op) {
                case "+":
                    out.println(a + b);
                    break;

                case "-":
                    out.println(a - b);
                    break;

                case "*":
                    out.println(a * b);
                    break;

                case "/":
                    out.println(a / b);
                    break;

                default:
                    break;
                } op case "+": "+" case "+": out.println(a + b) out.println out a + b a b break; case "-": "-" case "-": out.println(a - b) out.println out a - b a b break; case "*": "*" case "*": out.println(a * b) out.println out a * b a b break; case "/": "/" case "/": out.println(a / b) out.println out a / b a b break; default: default: break; String[] args args
import static java.lang.System.*;

import java.io.*;

class Main {

    public static void main(String[] args) {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        
        try {
            while (true) {
                String[] line = reader.readLine().split(" ");
                int a = Integer.parseInt(line[0]);
                String op = line[1];
                int b = Integer.parseInt(line[2]);
                
                if (op.equals("?")) {
                    break;
                }

                switch (op) {
                case "+":
                    out.println(a + b);
                    break;

                case "-":
                    out.println(a - b);
                    break;

                case "*":
                    out.println(a * b);
                    break;

                case "/":
                    out.println(a / b);
                    break;

                default:
                    break;
                }
            } 
        } catch (NumberFormatException e) {
            out.println(e);
        } catch (IOException e) {
            out.println(e);
        }

    }

}