import java.util.Scanner;
class Main{
    int a,b;
    String op;
    boolean sw = true;
    public void solve(){
        Scanner sc = new Scanner(System.in);
        sc.useDelimiter("\\s");
        while (sw == true){
            a = sc.nextInt();
            op = sc.next();
            b = sc.nextInt();
            if(op.equals("+")){
                System.out.println(a + b);
            }else if(op.equals("-")){
                System.out.println(a - b);
            }else if(op.equals("*")){
                System.out.println(a * b);
            }else if(op.equals("/")){
                System.out.println(a / b);
            }else{
                sw = false;
            }
        }

    }
    public static void main(String[] args){
        new Main().solve();
    }
} import java.util.Scanner; Scanner java.util class Main{
    int a,b;
    String op;
    boolean sw = true;
    public void solve(){
        Scanner sc = new Scanner(System.in);
        sc.useDelimiter("\\s");
        while (sw == true){
            a = sc.nextInt();
            op = sc.next();
            b = sc.nextInt();
            if(op.equals("+")){
                System.out.println(a + b);
            }else if(op.equals("-")){
                System.out.println(a - b);
            }else if(op.equals("*")){
                System.out.println(a * b);
            }else if(op.equals("/")){
                System.out.println(a / b);
            }else{
                sw = false;
            }
        }

    }
    public static void main(String[] args){
        new Main().solve();
    }
} Main int a a b; b String op; op boolean sw = true; sw true public void solve(){
        Scanner sc = new Scanner(System.in);
        sc.useDelimiter("\\s");
        while (sw == true){
            a = sc.nextInt();
            op = sc.next();
            b = sc.nextInt();
            if(op.equals("+")){
                System.out.println(a + b);
            }else if(op.equals("-")){
                System.out.println(a - b);
            }else if(op.equals("*")){
                System.out.println(a * b);
            }else if(op.equals("/")){
                System.out.println(a / b);
            }else{
                sw = false;
            }
        }

    } solve {
        Scanner sc = new Scanner(System.in);
        sc.useDelimiter("\\s");
        while (sw == true){
            a = sc.nextInt();
            op = sc.next();
            b = sc.nextInt();
            if(op.equals("+")){
                System.out.println(a + b);
            }else if(op.equals("-")){
                System.out.println(a - b);
            }else if(op.equals("*")){
                System.out.println(a * b);
            }else if(op.equals("/")){
                System.out.println(a / b);
            }else{
                sw = false;
            }
        }

    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) sc.useDelimiter("\\s") sc.useDelimiter sc "\\s" while (sw == true){
            a = sc.nextInt();
            op = sc.next();
            b = sc.nextInt();
            if(op.equals("+")){
                System.out.println(a + b);
            }else if(op.equals("-")){
                System.out.println(a - b);
            }else if(op.equals("*")){
                System.out.println(a * b);
            }else if(op.equals("/")){
                System.out.println(a / b);
            }else{
                sw = false;
            }
        } sw == true sw true {
            a = sc.nextInt();
            op = sc.next();
            b = sc.nextInt();
            if(op.equals("+")){
                System.out.println(a + b);
            }else if(op.equals("-")){
                System.out.println(a - b);
            }else if(op.equals("*")){
                System.out.println(a * b);
            }else if(op.equals("/")){
                System.out.println(a / b);
            }else{
                sw = false;
            }
        } a = sc.nextInt() a sc.nextInt() sc.nextInt sc op = sc.next() op sc.next() sc.next sc b = sc.nextInt() b sc.nextInt() sc.nextInt sc if(op.equals("+")){
                System.out.println(a + b);
            }else if(op.equals("-")){
                System.out.println(a - b);
            }else if(op.equals("*")){
                System.out.println(a * b);
            }else if(op.equals("/")){
                System.out.println(a / b);
            }else{
                sw = false;
            } op.equals("+") op.equals op "+" {
                System.out.println(a + b);
            } System.out.println(a + b) System.out.println System.out System System.out a + b a b if(op.equals("-")){
                System.out.println(a - b);
            }else if(op.equals("*")){
                System.out.println(a * b);
            }else if(op.equals("/")){
                System.out.println(a / b);
            }else{
                sw = false;
            } op.equals("-") op.equals op "-" {
                System.out.println(a - b);
            } System.out.println(a - b) System.out.println System.out System System.out a - b a b if(op.equals("*")){
                System.out.println(a * b);
            }else if(op.equals("/")){
                System.out.println(a / b);
            }else{
                sw = false;
            } op.equals("*") op.equals op "*" {
                System.out.println(a * b);
            } System.out.println(a * b) System.out.println System.out System System.out a * b a b if(op.equals("/")){
                System.out.println(a / b);
            }else{
                sw = false;
            } op.equals("/") op.equals op "/" {
                System.out.println(a / b);
            } System.out.println(a / b) System.out.println System.out System System.out a / b a b {
                sw = false;
            } sw = false sw false public static void main(String[] args){
        new Main().solve();
    } main {
        new Main().solve();
    } new Main().solve() new Main().solve new Main() String[] args args
import java.util.Scanner;
class Main{
    int a,b;
    String op;
    boolean sw = true;
    public void solve(){
        Scanner sc = new Scanner(System.in);
        sc.useDelimiter("\\s");
        while (sw == true){
            a = sc.nextInt();
            op = sc.next();
            b = sc.nextInt();
            if(op.equals("+")){
                System.out.println(a + b);
            }else if(op.equals("-")){
                System.out.println(a - b);
            }else if(op.equals("*")){
                System.out.println(a * b);
            }else if(op.equals("/")){
                System.out.println(a / b);
            }else{
                sw = false;
            }
        }

    }
    public static void main(String[] args){
        new Main().solve();
    }
}