import java.io.InputStreamReader;
import java.io.BufferedReader;
import java.io.IOException;

public class Main{
    public static void main(String[] args) throws IOException{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String line;
        
        loop:
        while((line = br.readLine()) != null){
            String[] input = line.split(" " , 3);
            int a = Integer.parseInt(input[0]);
            int b = Integer.parseInt(input[2]);

            switch(input[1]){
                case "?":
                    break loop;
                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.io.InputStreamReader; InputStreamReader java.io import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io public class Main{
    public static void main(String[] args) throws IOException{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String line;
        
        loop:
        while((line = br.readLine()) != null){
            String[] input = line.split(" " , 3);
            int a = Integer.parseInt(input[0]);
            int b = Integer.parseInt(input[2]);

            switch(input[1]){
                case "?":
                    break loop;
                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) throws IOException{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String line;
        
        loop:
        while((line = br.readLine()) != null){
            String[] input = line.split(" " , 3);
            int a = Integer.parseInt(input[0]);
            int b = Integer.parseInt(input[2]);

            switch(input[1]){
                case "?":
                    break loop;
                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 {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String line;
        
        loop:
        while((line = br.readLine()) != null){
            String[] input = line.split(" " , 3);
            int a = Integer.parseInt(input[0]);
            int b = Integer.parseInt(input[2]);

            switch(input[1]){
                case "?":
                    break loop;
                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;
            }

        }

    } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String line; line String[] args args public class Main{
    public static void main(String[] args) throws IOException{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String line;
        
        loop:
        while((line = br.readLine()) != null){
            String[] input = line.split(" " , 3);
            int a = Integer.parseInt(input[0]);
            int b = Integer.parseInt(input[2]);

            switch(input[1]){
                case "?":
                    break loop;
                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;
            }

        }

    }
} public class Main{
    public static void main(String[] args) throws IOException{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String line;
        
        loop:
        while((line = br.readLine()) != null){
            String[] input = line.split(" " , 3);
            int a = Integer.parseInt(input[0]);
            int b = Integer.parseInt(input[2]);

            switch(input[1]){
                case "?":
                    break loop;
                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
import java.io.InputStreamReader;
import java.io.BufferedReader;
import java.io.IOException;

public class Main{
    public static void main(String[] args) throws IOException{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String line;
        
        loop:
        while((line = br.readLine()) != null){
            String[] input = line.split(" " , 3);
            int a = Integer.parseInt(input[0]);
            int b = Integer.parseInt(input[2]);

            switch(input[1]){
                case "?":
                    break loop;
                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;
            }

        }

    }
}