import java.util.Scanner;

public class Main {
    public static void main(String[] args) throws Exception {
        Scanner input = new Scanner(System.in);
        while(true){
        int x = input.nextInt();
        String n = input.next();
        int y = input.nextInt();
        if(n.equals("+")){
            System.out.println(x+y);
        }else if(n.equals("-")){
            System.out.println(x-y);
        }else if(n.equals("*")){
            System.out.println(x*y);
        }else if(n.equals("/")){
            System.out.println(x/y);
        }else if(n.equals("?")){
            break;
        }
        }
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) throws Exception {
        Scanner input = new Scanner(System.in);
        while(true){
        int x = input.nextInt();
        String n = input.next();
        int y = input.nextInt();
        if(n.equals("+")){
            System.out.println(x+y);
        }else if(n.equals("-")){
            System.out.println(x-y);
        }else if(n.equals("*")){
            System.out.println(x*y);
        }else if(n.equals("/")){
            System.out.println(x/y);
        }else if(n.equals("?")){
            break;
        }
        }
    }
} Main public static void main(String[] args) throws Exception {
        Scanner input = new Scanner(System.in);
        while(true){
        int x = input.nextInt();
        String n = input.next();
        int y = input.nextInt();
        if(n.equals("+")){
            System.out.println(x+y);
        }else if(n.equals("-")){
            System.out.println(x-y);
        }else if(n.equals("*")){
            System.out.println(x*y);
        }else if(n.equals("/")){
            System.out.println(x/y);
        }else if(n.equals("?")){
            break;
        }
        }
    } main {
        Scanner input = new Scanner(System.in);
        while(true){
        int x = input.nextInt();
        String n = input.next();
        int y = input.nextInt();
        if(n.equals("+")){
            System.out.println(x+y);
        }else if(n.equals("-")){
            System.out.println(x-y);
        }else if(n.equals("*")){
            System.out.println(x*y);
        }else if(n.equals("/")){
            System.out.println(x/y);
        }else if(n.equals("?")){
            break;
        }
        }
    } Scanner input = new Scanner(System.in); input new Scanner(System.in) while(true){
        int x = input.nextInt();
        String n = input.next();
        int y = input.nextInt();
        if(n.equals("+")){
            System.out.println(x+y);
        }else if(n.equals("-")){
            System.out.println(x-y);
        }else if(n.equals("*")){
            System.out.println(x*y);
        }else if(n.equals("/")){
            System.out.println(x/y);
        }else if(n.equals("?")){
            break;
        }
        } true {
        int x = input.nextInt();
        String n = input.next();
        int y = input.nextInt();
        if(n.equals("+")){
            System.out.println(x+y);
        }else if(n.equals("-")){
            System.out.println(x-y);
        }else if(n.equals("*")){
            System.out.println(x*y);
        }else if(n.equals("/")){
            System.out.println(x/y);
        }else if(n.equals("?")){
            break;
        }
        } int x = input.nextInt(); x input.nextInt() input.nextInt input String n = input.next(); n input.next() input.next input int y = input.nextInt(); y input.nextInt() input.nextInt input if(n.equals("+")){
            System.out.println(x+y);
        }else if(n.equals("-")){
            System.out.println(x-y);
        }else if(n.equals("*")){
            System.out.println(x*y);
        }else if(n.equals("/")){
            System.out.println(x/y);
        }else if(n.equals("?")){
            break;
        } n.equals("+") n.equals n "+" {
            System.out.println(x+y);
        } System.out.println(x+y) System.out.println System.out System System.out x+y x y if(n.equals("-")){
            System.out.println(x-y);
        }else if(n.equals("*")){
            System.out.println(x*y);
        }else if(n.equals("/")){
            System.out.println(x/y);
        }else if(n.equals("?")){
            break;
        } n.equals("-") n.equals n "-" {
            System.out.println(x-y);
        } System.out.println(x-y) System.out.println System.out System System.out x-y x y if(n.equals("*")){
            System.out.println(x*y);
        }else if(n.equals("/")){
            System.out.println(x/y);
        }else if(n.equals("?")){
            break;
        } n.equals("*") n.equals n "*" {
            System.out.println(x*y);
        } System.out.println(x*y) System.out.println System.out System System.out x*y x y if(n.equals("/")){
            System.out.println(x/y);
        }else if(n.equals("?")){
            break;
        } n.equals("/") n.equals n "/" {
            System.out.println(x/y);
        } System.out.println(x/y) System.out.println System.out System System.out x/y x y if(n.equals("?")){
            break;
        } n.equals("?") n.equals n "?" {
            break;
        } break; String[] args args public class Main {
    public static void main(String[] args) throws Exception {
        Scanner input = new Scanner(System.in);
        while(true){
        int x = input.nextInt();
        String n = input.next();
        int y = input.nextInt();
        if(n.equals("+")){
            System.out.println(x+y);
        }else if(n.equals("-")){
            System.out.println(x-y);
        }else if(n.equals("*")){
            System.out.println(x*y);
        }else if(n.equals("/")){
            System.out.println(x/y);
        }else if(n.equals("?")){
            break;
        }
        }
    }
} public class Main {
    public static void main(String[] args) throws Exception {
        Scanner input = new Scanner(System.in);
        while(true){
        int x = input.nextInt();
        String n = input.next();
        int y = input.nextInt();
        if(n.equals("+")){
            System.out.println(x+y);
        }else if(n.equals("-")){
            System.out.println(x-y);
        }else if(n.equals("*")){
            System.out.println(x*y);
        }else if(n.equals("/")){
            System.out.println(x/y);
        }else if(n.equals("?")){
            break;
        }
        }
    }
} Main
import java.util.Scanner;

public class Main {
    public static void main(String[] args) throws Exception {
        Scanner input = new Scanner(System.in);
        while(true){
        int x = input.nextInt();
        String n = input.next();
        int y = input.nextInt();
        if(n.equals("+")){
            System.out.println(x+y);
        }else if(n.equals("-")){
            System.out.println(x-y);
        }else if(n.equals("*")){
            System.out.println(x*y);
        }else if(n.equals("/")){
            System.out.println(x/y);
        }else if(n.equals("?")){
            break;
        }
        }
    }
}