import java.io.*;
import java.util.*;

class Main
{
    public static void main(String[] args)
    {
        Scanner sc = new Scanner(System.in);
        
        int a = sc.nextInt();
        String op = sc.next();
        int b = sc.nextInt();
        
        while (!(op.equals("?"))) {
            switch (op) {
                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();
            op = sc.next();
            b = sc.nextInt();
        }
    }
} import java.io.*; io.* java import java.util.*; util.* java class Main
{
    public static void main(String[] args)
    {
        Scanner sc = new Scanner(System.in);
        
        int a = sc.nextInt();
        String op = sc.next();
        int b = sc.nextInt();
        
        while (!(op.equals("?"))) {
            switch (op) {
                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();
            op = sc.next();
            b = sc.nextInt();
        }
    }
} Main public static void main(String[] args)
    {
        Scanner sc = new Scanner(System.in);
        
        int a = sc.nextInt();
        String op = sc.next();
        int b = sc.nextInt();
        
        while (!(op.equals("?"))) {
            switch (op) {
                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();
            op = sc.next();
            b = sc.nextInt();
        }
    } main {
        Scanner sc = new Scanner(System.in);
        
        int a = sc.nextInt();
        String op = sc.next();
        int b = sc.nextInt();
        
        while (!(op.equals("?"))) {
            switch (op) {
                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();
            op = sc.next();
            b = sc.nextInt();
        }
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int a = sc.nextInt(); a sc.nextInt() sc.nextInt sc String op = sc.next(); op sc.next() sc.next sc int b = sc.nextInt(); b sc.nextInt() sc.nextInt sc while (!(op.equals("?"))) {
            switch (op) {
                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();
            op = sc.next();
            b = sc.nextInt();
        } !(op.equals("?")) (op.equals("?")) op.equals op "?" {
            switch (op) {
                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();
            op = sc.next();
            b = sc.nextInt();
        } switch (op) {
                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;
            } op 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; 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 String[] args args
import java.io.*;
import java.util.*;

class Main
{
    public static void main(String[] args)
    {
        Scanner sc = new Scanner(System.in);
        
        int a = sc.nextInt();
        String op = sc.next();
        int b = sc.nextInt();
        
        while (!(op.equals("?"))) {
            switch (op) {
                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();
            op = sc.next();
            b = sc.nextInt();
        }
    }
}