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

class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        while (true) {
            String[] line = br.readLine().split(" ");
            int a = Integer.parseInt(line[0]);
            int b = Integer.parseInt(line[2]);
            if (line[1].equals("+")){
            	System.out.println(a + b);
            }
            else if (line[1].equals("-")) {
            	System.out.println(a - b);
            }
            else if (line[1].equals("*")){
            	System.out.println(a * b);
            }
            else if (line[1].equals("/")){
            	System.out.println(a / b);
            }
            else{
            	break;
            }
        }
    }
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        while (true) {
            String[] line = br.readLine().split(" ");
            int a = Integer.parseInt(line[0]);
            int b = Integer.parseInt(line[2]);
            if (line[1].equals("+")){
            	System.out.println(a + b);
            }
            else if (line[1].equals("-")) {
            	System.out.println(a - b);
            }
            else if (line[1].equals("*")){
            	System.out.println(a * b);
            }
            else if (line[1].equals("/")){
            	System.out.println(a / b);
            }
            else{
            	break;
            }
        }
    }
} Main public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        while (true) {
            String[] line = br.readLine().split(" ");
            int a = Integer.parseInt(line[0]);
            int b = Integer.parseInt(line[2]);
            if (line[1].equals("+")){
            	System.out.println(a + b);
            }
            else if (line[1].equals("-")) {
            	System.out.println(a - b);
            }
            else if (line[1].equals("*")){
            	System.out.println(a * b);
            }
            else if (line[1].equals("/")){
            	System.out.println(a / b);
            }
            else{
            	break;
            }
        }
    } main {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        while (true) {
            String[] line = br.readLine().split(" ");
            int a = Integer.parseInt(line[0]);
            int b = Integer.parseInt(line[2]);
            if (line[1].equals("+")){
            	System.out.println(a + b);
            }
            else if (line[1].equals("-")) {
            	System.out.println(a - b);
            }
            else if (line[1].equals("*")){
            	System.out.println(a * b);
            }
            else if (line[1].equals("/")){
            	System.out.println(a / b);
            }
            else{
            	break;
            }
        }
    } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) while (true) {
            String[] line = br.readLine().split(" ");
            int a = Integer.parseInt(line[0]);
            int b = Integer.parseInt(line[2]);
            if (line[1].equals("+")){
            	System.out.println(a + b);
            }
            else if (line[1].equals("-")) {
            	System.out.println(a - b);
            }
            else if (line[1].equals("*")){
            	System.out.println(a * b);
            }
            else if (line[1].equals("/")){
            	System.out.println(a / b);
            }
            else{
            	break;
            }
        } true {
            String[] line = br.readLine().split(" ");
            int a = Integer.parseInt(line[0]);
            int b = Integer.parseInt(line[2]);
            if (line[1].equals("+")){
            	System.out.println(a + b);
            }
            else if (line[1].equals("-")) {
            	System.out.println(a - b);
            }
            else if (line[1].equals("*")){
            	System.out.println(a * b);
            }
            else if (line[1].equals("/")){
            	System.out.println(a / b);
            }
            else{
            	break;
            }
        } String[] line = br.readLine().split(" "); line br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " int a = Integer.parseInt(line[0]); a Integer.parseInt(line[0]) Integer.parseInt Integer line[0] line 0 int b = Integer.parseInt(line[2]); b Integer.parseInt(line[2]) Integer.parseInt Integer line[2] line 2 if (line[1].equals("+")){
            	System.out.println(a + b);
            }
            else if (line[1].equals("-")) {
            	System.out.println(a - b);
            }
            else if (line[1].equals("*")){
            	System.out.println(a * b);
            }
            else if (line[1].equals("/")){
            	System.out.println(a / b);
            }
            else{
            	break;
            } line[1].equals("+") line[1].equals line[1] line 1 "+" {
            	System.out.println(a + b);
            } System.out.println(a + b) System.out.println System.out System System.out a + b a b if (line[1].equals("-")) {
            	System.out.println(a - b);
            }
            else if (line[1].equals("*")){
            	System.out.println(a * b);
            }
            else if (line[1].equals("/")){
            	System.out.println(a / b);
            }
            else{
            	break;
            } line[1].equals("-") line[1].equals line[1] line 1 "-" {
            	System.out.println(a - b);
            } System.out.println(a - b) System.out.println System.out System System.out a - b a b if (line[1].equals("*")){
            	System.out.println(a * b);
            }
            else if (line[1].equals("/")){
            	System.out.println(a / b);
            }
            else{
            	break;
            } line[1].equals("*") line[1].equals line[1] line 1 "*" {
            	System.out.println(a * b);
            } System.out.println(a * b) System.out.println System.out System System.out a * b a b if (line[1].equals("/")){
            	System.out.println(a / b);
            }
            else{
            	break;
            } line[1].equals("/") line[1].equals line[1] line 1 "/" {
            	System.out.println(a / b);
            } System.out.println(a / b) System.out.println System.out System System.out a / b a b {
            	break;
            } break; String[] args args
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        while (true) {
            String[] line = br.readLine().split(" ");
            int a = Integer.parseInt(line[0]);
            int b = Integer.parseInt(line[2]);
            if (line[1].equals("+")){
            	System.out.println(a + b);
            }
            else if (line[1].equals("-")) {
            	System.out.println(a - b);
            }
            else if (line[1].equals("*")){
            	System.out.println(a * b);
            }
            else if (line[1].equals("/")){
            	System.out.println(a / b);
            }
            else{
            	break;
            }
        }
    }
}