import java.util.Scanner;

public class Main {
    public static void main(String[] args){
        int a,b;
        String str = "";
        char op;
        boolean loop=true;
        Scanner sc = new Scanner(System.in);
        while(loop) {
            a = sc.nextInt();
            op = sc.next().charAt(0);
            b = sc.nextInt();
            switch (op) {
                case '+':
                    str += Integer.toString(a+b) + "\n";
                    break;
                case '-':
                    str += Integer.toString(a-b) + "\n";
                    break;
                case '*':
                    str += Integer.toString(a*b) + "\n";
                    break;
                case '/':
                    str += Integer.toString(a/b) + "\n";
                    break;
                case '?':
                    loop = false;
                    break;
            }
        }
        System.out.print(str);
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args){
        int a,b;
        String str = "";
        char op;
        boolean loop=true;
        Scanner sc = new Scanner(System.in);
        while(loop) {
            a = sc.nextInt();
            op = sc.next().charAt(0);
            b = sc.nextInt();
            switch (op) {
                case '+':
                    str += Integer.toString(a+b) + "\n";
                    break;
                case '-':
                    str += Integer.toString(a-b) + "\n";
                    break;
                case '*':
                    str += Integer.toString(a*b) + "\n";
                    break;
                case '/':
                    str += Integer.toString(a/b) + "\n";
                    break;
                case '?':
                    loop = false;
                    break;
            }
        }
        System.out.print(str);
    }
} Main public static void main(String[] args){
        int a,b;
        String str = "";
        char op;
        boolean loop=true;
        Scanner sc = new Scanner(System.in);
        while(loop) {
            a = sc.nextInt();
            op = sc.next().charAt(0);
            b = sc.nextInt();
            switch (op) {
                case '+':
                    str += Integer.toString(a+b) + "\n";
                    break;
                case '-':
                    str += Integer.toString(a-b) + "\n";
                    break;
                case '*':
                    str += Integer.toString(a*b) + "\n";
                    break;
                case '/':
                    str += Integer.toString(a/b) + "\n";
                    break;
                case '?':
                    loop = false;
                    break;
            }
        }
        System.out.print(str);
    } main {
        int a,b;
        String str = "";
        char op;
        boolean loop=true;
        Scanner sc = new Scanner(System.in);
        while(loop) {
            a = sc.nextInt();
            op = sc.next().charAt(0);
            b = sc.nextInt();
            switch (op) {
                case '+':
                    str += Integer.toString(a+b) + "\n";
                    break;
                case '-':
                    str += Integer.toString(a-b) + "\n";
                    break;
                case '*':
                    str += Integer.toString(a*b) + "\n";
                    break;
                case '/':
                    str += Integer.toString(a/b) + "\n";
                    break;
                case '?':
                    loop = false;
                    break;
            }
        }
        System.out.print(str);
    } int a a b; b String str = ""; str "" char op; op boolean loop=true; loop true Scanner sc = new Scanner(System.in); sc new Scanner(System.in) while(loop) {
            a = sc.nextInt();
            op = sc.next().charAt(0);
            b = sc.nextInt();
            switch (op) {
                case '+':
                    str += Integer.toString(a+b) + "\n";
                    break;
                case '-':
                    str += Integer.toString(a-b) + "\n";
                    break;
                case '*':
                    str += Integer.toString(a*b) + "\n";
                    break;
                case '/':
                    str += Integer.toString(a/b) + "\n";
                    break;
                case '?':
                    loop = false;
                    break;
            }
        } loop {
            a = sc.nextInt();
            op = sc.next().charAt(0);
            b = sc.nextInt();
            switch (op) {
                case '+':
                    str += Integer.toString(a+b) + "\n";
                    break;
                case '-':
                    str += Integer.toString(a-b) + "\n";
                    break;
                case '*':
                    str += Integer.toString(a*b) + "\n";
                    break;
                case '/':
                    str += Integer.toString(a/b) + "\n";
                    break;
                case '?':
                    loop = false;
                    break;
            }
        } a = sc.nextInt() a sc.nextInt() sc.nextInt sc op = sc.next().charAt(0) op sc.next().charAt(0) sc.next().charAt sc.next() sc.next sc 0 b = sc.nextInt() b sc.nextInt() sc.nextInt sc switch (op) {
                case '+':
                    str += Integer.toString(a+b) + "\n";
                    break;
                case '-':
                    str += Integer.toString(a-b) + "\n";
                    break;
                case '*':
                    str += Integer.toString(a*b) + "\n";
                    break;
                case '/':
                    str += Integer.toString(a/b) + "\n";
                    break;
                case '?':
                    loop = false;
                    break;
            } op case '+': '+' case '+': str += Integer.toString(a+b) + "\n" str Integer.toString(a+b) + "\n" Integer.toString(a+b) Integer.toString Integer a+b a b "\n" break; case '-': '-' case '-': str += Integer.toString(a-b) + "\n" str Integer.toString(a-b) + "\n" Integer.toString(a-b) Integer.toString Integer a-b a b "\n" break; case '*': '*' case '*': str += Integer.toString(a*b) + "\n" str Integer.toString(a*b) + "\n" Integer.toString(a*b) Integer.toString Integer a*b a b "\n" break; case '/': '/' case '/': str += Integer.toString(a/b) + "\n" str Integer.toString(a/b) + "\n" Integer.toString(a/b) Integer.toString Integer a/b a b "\n" break; case '?': '?' case '?': loop = false loop false break; System.out.print(str) System.out.print System.out System System.out str String[] args args public class Main {
    public static void main(String[] args){
        int a,b;
        String str = "";
        char op;
        boolean loop=true;
        Scanner sc = new Scanner(System.in);
        while(loop) {
            a = sc.nextInt();
            op = sc.next().charAt(0);
            b = sc.nextInt();
            switch (op) {
                case '+':
                    str += Integer.toString(a+b) + "\n";
                    break;
                case '-':
                    str += Integer.toString(a-b) + "\n";
                    break;
                case '*':
                    str += Integer.toString(a*b) + "\n";
                    break;
                case '/':
                    str += Integer.toString(a/b) + "\n";
                    break;
                case '?':
                    loop = false;
                    break;
            }
        }
        System.out.print(str);
    }
} public class Main {
    public static void main(String[] args){
        int a,b;
        String str = "";
        char op;
        boolean loop=true;
        Scanner sc = new Scanner(System.in);
        while(loop) {
            a = sc.nextInt();
            op = sc.next().charAt(0);
            b = sc.nextInt();
            switch (op) {
                case '+':
                    str += Integer.toString(a+b) + "\n";
                    break;
                case '-':
                    str += Integer.toString(a-b) + "\n";
                    break;
                case '*':
                    str += Integer.toString(a*b) + "\n";
                    break;
                case '/':
                    str += Integer.toString(a/b) + "\n";
                    break;
                case '?':
                    loop = false;
                    break;
            }
        }
        System.out.print(str);
    }
} Main
import java.util.Scanner;

public class Main {
    public static void main(String[] args){
        int a,b;
        String str = "";
        char op;
        boolean loop=true;
        Scanner sc = new Scanner(System.in);
        while(loop) {
            a = sc.nextInt();
            op = sc.next().charAt(0);
            b = sc.nextInt();
            switch (op) {
                case '+':
                    str += Integer.toString(a+b) + "\n";
                    break;
                case '-':
                    str += Integer.toString(a-b) + "\n";
                    break;
                case '*':
                    str += Integer.toString(a*b) + "\n";
                    break;
                case '/':
                    str += Integer.toString(a/b) + "\n";
                    break;
                case '?':
                    loop = false;
                    break;
            }
        }
        System.out.print(str);
    }
}