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[] list = br.readLine().split(" ");
			int num01 = Integer.parseInt(list[0]);
			int num02 = Integer.parseInt(list[2]);
			if (list[1].equals("+")) {
				System.out.println(num01 + num02);
			} else if (list[1].equals("-")) {
				System.out.println(num01 - num02);
			} else if (list[1].equals("*")) {
				System.out.println(num01 * num02);
			} else if (list[1].equals("/")) {
				System.out.println(num01 / num02);
			} 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[] list = br.readLine().split(" ");
			int num01 = Integer.parseInt(list[0]);
			int num02 = Integer.parseInt(list[2]);
			if (list[1].equals("+")) {
				System.out.println(num01 + num02);
			} else if (list[1].equals("-")) {
				System.out.println(num01 - num02);
			} else if (list[1].equals("*")) {
				System.out.println(num01 * num02);
			} else if (list[1].equals("/")) {
				System.out.println(num01 / num02);
			} else {
				break;
			}
		}
	}
} Main public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		
		while (true) {
			String[] list = br.readLine().split(" ");
			int num01 = Integer.parseInt(list[0]);
			int num02 = Integer.parseInt(list[2]);
			if (list[1].equals("+")) {
				System.out.println(num01 + num02);
			} else if (list[1].equals("-")) {
				System.out.println(num01 - num02);
			} else if (list[1].equals("*")) {
				System.out.println(num01 * num02);
			} else if (list[1].equals("/")) {
				System.out.println(num01 / num02);
			} else {
				break;
			}
		}
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		
		while (true) {
			String[] list = br.readLine().split(" ");
			int num01 = Integer.parseInt(list[0]);
			int num02 = Integer.parseInt(list[2]);
			if (list[1].equals("+")) {
				System.out.println(num01 + num02);
			} else if (list[1].equals("-")) {
				System.out.println(num01 - num02);
			} else if (list[1].equals("*")) {
				System.out.println(num01 * num02);
			} else if (list[1].equals("/")) {
				System.out.println(num01 / num02);
			} else {
				break;
			}
		}
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) while (true) {
			String[] list = br.readLine().split(" ");
			int num01 = Integer.parseInt(list[0]);
			int num02 = Integer.parseInt(list[2]);
			if (list[1].equals("+")) {
				System.out.println(num01 + num02);
			} else if (list[1].equals("-")) {
				System.out.println(num01 - num02);
			} else if (list[1].equals("*")) {
				System.out.println(num01 * num02);
			} else if (list[1].equals("/")) {
				System.out.println(num01 / num02);
			} else {
				break;
			}
		} true {
			String[] list = br.readLine().split(" ");
			int num01 = Integer.parseInt(list[0]);
			int num02 = Integer.parseInt(list[2]);
			if (list[1].equals("+")) {
				System.out.println(num01 + num02);
			} else if (list[1].equals("-")) {
				System.out.println(num01 - num02);
			} else if (list[1].equals("*")) {
				System.out.println(num01 * num02);
			} else if (list[1].equals("/")) {
				System.out.println(num01 / num02);
			} else {
				break;
			}
		} String[] list = br.readLine().split(" "); list br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " int num01 = Integer.parseInt(list[0]); num01 Integer.parseInt(list[0]) Integer.parseInt Integer list[0] list 0 int num02 = Integer.parseInt(list[2]); num02 Integer.parseInt(list[2]) Integer.parseInt Integer list[2] list 2 if (list[1].equals("+")) {
				System.out.println(num01 + num02);
			} else if (list[1].equals("-")) {
				System.out.println(num01 - num02);
			} else if (list[1].equals("*")) {
				System.out.println(num01 * num02);
			} else if (list[1].equals("/")) {
				System.out.println(num01 / num02);
			} else {
				break;
			} list[1].equals("+") list[1].equals list[1] list 1 "+" {
				System.out.println(num01 + num02);
			} System.out.println(num01 + num02) System.out.println System.out System System.out num01 + num02 num01 num02 if (list[1].equals("-")) {
				System.out.println(num01 - num02);
			} else if (list[1].equals("*")) {
				System.out.println(num01 * num02);
			} else if (list[1].equals("/")) {
				System.out.println(num01 / num02);
			} else {
				break;
			} list[1].equals("-") list[1].equals list[1] list 1 "-" {
				System.out.println(num01 - num02);
			} System.out.println(num01 - num02) System.out.println System.out System System.out num01 - num02 num01 num02 if (list[1].equals("*")) {
				System.out.println(num01 * num02);
			} else if (list[1].equals("/")) {
				System.out.println(num01 / num02);
			} else {
				break;
			} list[1].equals("*") list[1].equals list[1] list 1 "*" {
				System.out.println(num01 * num02);
			} System.out.println(num01 * num02) System.out.println System.out System System.out num01 * num02 num01 num02 if (list[1].equals("/")) {
				System.out.println(num01 / num02);
			} else {
				break;
			} list[1].equals("/") list[1].equals list[1] list 1 "/" {
				System.out.println(num01 / num02);
			} System.out.println(num01 / num02) System.out.println System.out System System.out num01 / num02 num01 num02 {
				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[] list = br.readLine().split(" ");
			int num01 = Integer.parseInt(list[0]);
			int num02 = Integer.parseInt(list[2]);
			if (list[1].equals("+")) {
				System.out.println(num01 + num02);
			} else if (list[1].equals("-")) {
				System.out.println(num01 - num02);
			} else if (list[1].equals("*")) {
				System.out.println(num01 * num02);
			} else if (list[1].equals("/")) {
				System.out.println(num01 / num02);
			} else {
				break;
			}
		}
	}
}