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

public class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        StringBuilder sb = new StringBuilder();
        while(true){
            String str[] = br.readLine().split(" ");
            if(str[1].equals("?")) break;
            int a = Integer.parseInt(str[0]);
            int b = Integer.parseInt(str[2]);
            int c=0;
            switch (str[1]) {
                case "+":
                    c = a+b;
                    break;
                case "-":
                    c = a-b;
                    break;
                case "*":
                    c = a*b;
                    break;
                case "/":
                    c = a/b;
                    break;
                default:
                    break;
            }
            sb.append(c+"\n");
        }
        System.out.print(sb);
    }
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        StringBuilder sb = new StringBuilder();
        while(true){
            String str[] = br.readLine().split(" ");
            if(str[1].equals("?")) break;
            int a = Integer.parseInt(str[0]);
            int b = Integer.parseInt(str[2]);
            int c=0;
            switch (str[1]) {
                case "+":
                    c = a+b;
                    break;
                case "-":
                    c = a-b;
                    break;
                case "*":
                    c = a*b;
                    break;
                case "/":
                    c = a/b;
                    break;
                default:
                    break;
            }
            sb.append(c+"\n");
        }
        System.out.print(sb);
    }
} Main public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        StringBuilder sb = new StringBuilder();
        while(true){
            String str[] = br.readLine().split(" ");
            if(str[1].equals("?")) break;
            int a = Integer.parseInt(str[0]);
            int b = Integer.parseInt(str[2]);
            int c=0;
            switch (str[1]) {
                case "+":
                    c = a+b;
                    break;
                case "-":
                    c = a-b;
                    break;
                case "*":
                    c = a*b;
                    break;
                case "/":
                    c = a/b;
                    break;
                default:
                    break;
            }
            sb.append(c+"\n");
        }
        System.out.print(sb);
    } main {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        StringBuilder sb = new StringBuilder();
        while(true){
            String str[] = br.readLine().split(" ");
            if(str[1].equals("?")) break;
            int a = Integer.parseInt(str[0]);
            int b = Integer.parseInt(str[2]);
            int c=0;
            switch (str[1]) {
                case "+":
                    c = a+b;
                    break;
                case "-":
                    c = a-b;
                    break;
                case "*":
                    c = a*b;
                    break;
                case "/":
                    c = a/b;
                    break;
                default:
                    break;
            }
            sb.append(c+"\n");
        }
        System.out.print(sb);
    } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) StringBuilder sb = new StringBuilder(); sb new StringBuilder() while(true){
            String str[] = br.readLine().split(" ");
            if(str[1].equals("?")) break;
            int a = Integer.parseInt(str[0]);
            int b = Integer.parseInt(str[2]);
            int c=0;
            switch (str[1]) {
                case "+":
                    c = a+b;
                    break;
                case "-":
                    c = a-b;
                    break;
                case "*":
                    c = a*b;
                    break;
                case "/":
                    c = a/b;
                    break;
                default:
                    break;
            }
            sb.append(c+"\n");
        } true {
            String str[] = br.readLine().split(" ");
            if(str[1].equals("?")) break;
            int a = Integer.parseInt(str[0]);
            int b = Integer.parseInt(str[2]);
            int c=0;
            switch (str[1]) {
                case "+":
                    c = a+b;
                    break;
                case "-":
                    c = a-b;
                    break;
                case "*":
                    c = a*b;
                    break;
                case "/":
                    c = a/b;
                    break;
                default:
                    break;
            }
            sb.append(c+"\n");
        } String str[] = br.readLine().split(" "); str br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " if(str[1].equals("?")) break; str[1].equals("?") str[1].equals str[1] str 1 "?" break; int a = Integer.parseInt(str[0]); a Integer.parseInt(str[0]) Integer.parseInt Integer str[0] str 0 int b = Integer.parseInt(str[2]); b Integer.parseInt(str[2]) Integer.parseInt Integer str[2] str 2 int c=0; c 0 switch (str[1]) {
                case "+":
                    c = a+b;
                    break;
                case "-":
                    c = a-b;
                    break;
                case "*":
                    c = a*b;
                    break;
                case "/":
                    c = a/b;
                    break;
                default:
                    break;
            } str[1] str 1 case "+": "+" case "+": c = a+b c a+b a b break; case "-": "-" case "-": c = a-b c a-b a b break; case "*": "*" case "*": c = a*b c a*b a b break; case "/": "/" case "/": c = a/b c a/b a b break; default: default: break; sb.append(c+"\n") sb.append sb c+"\n" c "\n" System.out.print(sb) System.out.print System.out System System.out sb String[] args args public class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        StringBuilder sb = new StringBuilder();
        while(true){
            String str[] = br.readLine().split(" ");
            if(str[1].equals("?")) break;
            int a = Integer.parseInt(str[0]);
            int b = Integer.parseInt(str[2]);
            int c=0;
            switch (str[1]) {
                case "+":
                    c = a+b;
                    break;
                case "-":
                    c = a-b;
                    break;
                case "*":
                    c = a*b;
                    break;
                case "/":
                    c = a/b;
                    break;
                default:
                    break;
            }
            sb.append(c+"\n");
        }
        System.out.print(sb);
    }
} public class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        StringBuilder sb = new StringBuilder();
        while(true){
            String str[] = br.readLine().split(" ");
            if(str[1].equals("?")) break;
            int a = Integer.parseInt(str[0]);
            int b = Integer.parseInt(str[2]);
            int c=0;
            switch (str[1]) {
                case "+":
                    c = a+b;
                    break;
                case "-":
                    c = a-b;
                    break;
                case "*":
                    c = a*b;
                    break;
                case "/":
                    c = a/b;
                    break;
                default:
                    break;
            }
            sb.append(c+"\n");
        }
        System.out.print(sb);
    }
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        StringBuilder sb = new StringBuilder();
        while(true){
            String str[] = br.readLine().split(" ");
            if(str[1].equals("?")) break;
            int a = Integer.parseInt(str[0]);
            int b = Integer.parseInt(str[2]);
            int c=0;
            switch (str[1]) {
                case "+":
                    c = a+b;
                    break;
                case "-":
                    c = a-b;
                    break;
                case "*":
                    c = a*b;
                    break;
                case "/":
                    c = a/b;
                    break;
                default:
                    break;
            }
            sb.append(c+"\n");
        }
        System.out.print(sb);
    }
}