import java.util.*;

class Main {
        public static void main(String args[]) {
                try (Scanner sc = new Scanner(System.in)) {
                        int a, b;
                        char c;
                        while (true) {
                                a = sc.nextInt();
                                c = sc.next().charAt(0);
                                b = sc.nextInt();
                                switch (c) {
                                        case '?':
                                                return;
                                        case '+':
                                                System.out.println(a + b);break;
                                        case '-':
                                                System.out.println(a - b);break;
                                        case '*':
                                                System.out.println(a * b);break;
                                        case '/':
                                                System.out.println(a/b);break;
                                }
                        }
                }
        }
} import java.util.*; util.* java class Main {
        public static void main(String args[]) {
                try (Scanner sc = new Scanner(System.in)) {
                        int a, b;
                        char c;
                        while (true) {
                                a = sc.nextInt();
                                c = sc.next().charAt(0);
                                b = sc.nextInt();
                                switch (c) {
                                        case '?':
                                                return;
                                        case '+':
                                                System.out.println(a + b);break;
                                        case '-':
                                                System.out.println(a - b);break;
                                        case '*':
                                                System.out.println(a * b);break;
                                        case '/':
                                                System.out.println(a/b);break;
                                }
                        }
                }
        }
} Main public static void main(String args[]) {
                try (Scanner sc = new Scanner(System.in)) {
                        int a, b;
                        char c;
                        while (true) {
                                a = sc.nextInt();
                                c = sc.next().charAt(0);
                                b = sc.nextInt();
                                switch (c) {
                                        case '?':
                                                return;
                                        case '+':
                                                System.out.println(a + b);break;
                                        case '-':
                                                System.out.println(a - b);break;
                                        case '*':
                                                System.out.println(a * b);break;
                                        case '/':
                                                System.out.println(a/b);break;
                                }
                        }
                }
        } main {
                try (Scanner sc = new Scanner(System.in)) {
                        int a, b;
                        char c;
                        while (true) {
                                a = sc.nextInt();
                                c = sc.next().charAt(0);
                                b = sc.nextInt();
                                switch (c) {
                                        case '?':
                                                return;
                                        case '+':
                                                System.out.println(a + b);break;
                                        case '-':
                                                System.out.println(a - b);break;
                                        case '*':
                                                System.out.println(a * b);break;
                                        case '/':
                                                System.out.println(a/b);break;
                                }
                        }
                }
        } try (Scanner sc = new Scanner(System.in)) {
                        int a, b;
                        char c;
                        while (true) {
                                a = sc.nextInt();
                                c = sc.next().charAt(0);
                                b = sc.nextInt();
                                switch (c) {
                                        case '?':
                                                return;
                                        case '+':
                                                System.out.println(a + b);break;
                                        case '-':
                                                System.out.println(a - b);break;
                                        case '*':
                                                System.out.println(a * b);break;
                                        case '/':
                                                System.out.println(a/b);break;
                                }
                        }
                } {
                        int a, b;
                        char c;
                        while (true) {
                                a = sc.nextInt();
                                c = sc.next().charAt(0);
                                b = sc.nextInt();
                                switch (c) {
                                        case '?':
                                                return;
                                        case '+':
                                                System.out.println(a + b);break;
                                        case '-':
                                                System.out.println(a - b);break;
                                        case '*':
                                                System.out.println(a * b);break;
                                        case '/':
                                                System.out.println(a/b);break;
                                }
                        }
                } Scanner sc = new Scanner(System.in) Scanner sc = new Scanner(System.in) new Scanner(System.in) int a a b; b char c; c while (true) {
                                a = sc.nextInt();
                                c = sc.next().charAt(0);
                                b = sc.nextInt();
                                switch (c) {
                                        case '?':
                                                return;
                                        case '+':
                                                System.out.println(a + b);break;
                                        case '-':
                                                System.out.println(a - b);break;
                                        case '*':
                                                System.out.println(a * b);break;
                                        case '/':
                                                System.out.println(a/b);break;
                                }
                        } true {
                                a = sc.nextInt();
                                c = sc.next().charAt(0);
                                b = sc.nextInt();
                                switch (c) {
                                        case '?':
                                                return;
                                        case '+':
                                                System.out.println(a + b);break;
                                        case '-':
                                                System.out.println(a - b);break;
                                        case '*':
                                                System.out.println(a * b);break;
                                        case '/':
                                                System.out.println(a/b);break;
                                }
                        } a = sc.nextInt() a sc.nextInt() sc.nextInt sc c = sc.next().charAt(0) c sc.next().charAt(0) sc.next().charAt sc.next() sc.next sc 0 b = sc.nextInt() b sc.nextInt() sc.nextInt sc switch (c) {
                                        case '?':
                                                return;
                                        case '+':
                                                System.out.println(a + b);break;
                                        case '-':
                                                System.out.println(a - b);break;
                                        case '*':
                                                System.out.println(a * b);break;
                                        case '/':
                                                System.out.println(a/b);break;
                                } c case '?': '?' case '?': return; case '+': '+' case '+': System.out.println(a + b) System.out.println System.out System System.out a + b a b break; case '-': '-' case '-': System.out.println(a - b) System.out.println System.out System System.out a - b a b break; case '*': '*' case '*': System.out.println(a * b) System.out.println System.out System System.out a * b a b break; case '/': '/' case '/': System.out.println(a/b) System.out.println System.out System System.out a/b a b break; String args[] args
import java.util.*;

class Main {
        public static void main(String args[]) {
                try (Scanner sc = new Scanner(System.in)) {
                        int a, b;
                        char c;
                        while (true) {
                                a = sc.nextInt();
                                c = sc.next().charAt(0);
                                b = sc.nextInt();
                                switch (c) {
                                        case '?':
                                                return;
                                        case '+':
                                                System.out.println(a + b);break;
                                        case '-':
                                                System.out.println(a - b);break;
                                        case '*':
                                                System.out.println(a * b);break;
                                        case '/':
                                                System.out.println(a/b);break;
                                }
                        }
                }
        }
}