import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        String op = "+";
        while (!"?".equals(op)) {
            int a = scanner.nextInt();
            String ope = scanner.next();
            int b = scanner.nextInt();
            
            op=ope;
            
            
            if ("+".equals(op)) {
                int c = a + b;
                System.out.println(c);
            }
            if ("-".equals(op)) {
                int c = a - b;
                System.out.println(c);
            }
            if ("*".equals(op)) {
                int c = a * b;
                System.out.println(c);
            }
            if ("/".equals(op)) {
                int c = a / b;
                System.out.println(c);
            }
            if ("?".equals(op)) {
                break;
            }
        }
    }
} import java.util.Scanner; Scanner java.util public class Main {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        String op = "+";
        while (!"?".equals(op)) {
            int a = scanner.nextInt();
            String ope = scanner.next();
            int b = scanner.nextInt();
            
            op=ope;
            
            
            if ("+".equals(op)) {
                int c = a + b;
                System.out.println(c);
            }
            if ("-".equals(op)) {
                int c = a - b;
                System.out.println(c);
            }
            if ("*".equals(op)) {
                int c = a * b;
                System.out.println(c);
            }
            if ("/".equals(op)) {
                int c = a / b;
                System.out.println(c);
            }
            if ("?".equals(op)) {
                break;
            }
        }
    }
} Main public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        String op = "+";
        while (!"?".equals(op)) {
            int a = scanner.nextInt();
            String ope = scanner.next();
            int b = scanner.nextInt();
            
            op=ope;
            
            
            if ("+".equals(op)) {
                int c = a + b;
                System.out.println(c);
            }
            if ("-".equals(op)) {
                int c = a - b;
                System.out.println(c);
            }
            if ("*".equals(op)) {
                int c = a * b;
                System.out.println(c);
            }
            if ("/".equals(op)) {
                int c = a / b;
                System.out.println(c);
            }
            if ("?".equals(op)) {
                break;
            }
        }
    } main {
        Scanner scanner = new Scanner(System.in);

        String op = "+";
        while (!"?".equals(op)) {
            int a = scanner.nextInt();
            String ope = scanner.next();
            int b = scanner.nextInt();
            
            op=ope;
            
            
            if ("+".equals(op)) {
                int c = a + b;
                System.out.println(c);
            }
            if ("-".equals(op)) {
                int c = a - b;
                System.out.println(c);
            }
            if ("*".equals(op)) {
                int c = a * b;
                System.out.println(c);
            }
            if ("/".equals(op)) {
                int c = a / b;
                System.out.println(c);
            }
            if ("?".equals(op)) {
                break;
            }
        }
    } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) String op = "+"; op "+" while (!"?".equals(op)) {
            int a = scanner.nextInt();
            String ope = scanner.next();
            int b = scanner.nextInt();
            
            op=ope;
            
            
            if ("+".equals(op)) {
                int c = a + b;
                System.out.println(c);
            }
            if ("-".equals(op)) {
                int c = a - b;
                System.out.println(c);
            }
            if ("*".equals(op)) {
                int c = a * b;
                System.out.println(c);
            }
            if ("/".equals(op)) {
                int c = a / b;
                System.out.println(c);
            }
            if ("?".equals(op)) {
                break;
            }
        } !"?".equals(op) "?".equals(op) "?".equals "?" op {
            int a = scanner.nextInt();
            String ope = scanner.next();
            int b = scanner.nextInt();
            
            op=ope;
            
            
            if ("+".equals(op)) {
                int c = a + b;
                System.out.println(c);
            }
            if ("-".equals(op)) {
                int c = a - b;
                System.out.println(c);
            }
            if ("*".equals(op)) {
                int c = a * b;
                System.out.println(c);
            }
            if ("/".equals(op)) {
                int c = a / b;
                System.out.println(c);
            }
            if ("?".equals(op)) {
                break;
            }
        } int a = scanner.nextInt(); a scanner.nextInt() scanner.nextInt scanner String ope = scanner.next(); ope scanner.next() scanner.next scanner int b = scanner.nextInt(); b scanner.nextInt() scanner.nextInt scanner op=ope op ope if ("+".equals(op)) {
                int c = a + b;
                System.out.println(c);
            } "+".equals(op) "+".equals "+" op {
                int c = a + b;
                System.out.println(c);
            } int c = a + b; c a + b a b System.out.println(c) System.out.println System.out System System.out c if ("-".equals(op)) {
                int c = a - b;
                System.out.println(c);
            } "-".equals(op) "-".equals "-" op {
                int c = a - b;
                System.out.println(c);
            } int c = a - b; c a - b a b System.out.println(c) System.out.println System.out System System.out c if ("*".equals(op)) {
                int c = a * b;
                System.out.println(c);
            } "*".equals(op) "*".equals "*" op {
                int c = a * b;
                System.out.println(c);
            } int c = a * b; c a * b a b System.out.println(c) System.out.println System.out System System.out c if ("/".equals(op)) {
                int c = a / b;
                System.out.println(c);
            } "/".equals(op) "/".equals "/" op {
                int c = a / b;
                System.out.println(c);
            } int c = a / b; c a / b a b System.out.println(c) System.out.println System.out System System.out c if ("?".equals(op)) {
                break;
            } "?".equals(op) "?".equals "?" op {
                break;
            } break; String[] args args public class Main {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        String op = "+";
        while (!"?".equals(op)) {
            int a = scanner.nextInt();
            String ope = scanner.next();
            int b = scanner.nextInt();
            
            op=ope;
            
            
            if ("+".equals(op)) {
                int c = a + b;
                System.out.println(c);
            }
            if ("-".equals(op)) {
                int c = a - b;
                System.out.println(c);
            }
            if ("*".equals(op)) {
                int c = a * b;
                System.out.println(c);
            }
            if ("/".equals(op)) {
                int c = a / b;
                System.out.println(c);
            }
            if ("?".equals(op)) {
                break;
            }
        }
    }
} public class Main {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        String op = "+";
        while (!"?".equals(op)) {
            int a = scanner.nextInt();
            String ope = scanner.next();
            int b = scanner.nextInt();
            
            op=ope;
            
            
            if ("+".equals(op)) {
                int c = a + b;
                System.out.println(c);
            }
            if ("-".equals(op)) {
                int c = a - b;
                System.out.println(c);
            }
            if ("*".equals(op)) {
                int c = a * b;
                System.out.println(c);
            }
            if ("/".equals(op)) {
                int c = a / b;
                System.out.println(c);
            }
            if ("?".equals(op)) {
                break;
            }
        }
    }
} Main
import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        String op = "+";
        while (!"?".equals(op)) {
            int a = scanner.nextInt();
            String ope = scanner.next();
            int b = scanner.nextInt();
            
            op=ope;
            
            
            if ("+".equals(op)) {
                int c = a + b;
                System.out.println(c);
            }
            if ("-".equals(op)) {
                int c = a - b;
                System.out.println(c);
            }
            if ("*".equals(op)) {
                int c = a * b;
                System.out.println(c);
            }
            if ("/".equals(op)) {
                int c = a / b;
                System.out.println(c);
            }
            if ("?".equals(op)) {
                break;
            }
        }
    }
}