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));

		while (true) {
			String[] inputNum = br.readLine().split(" ");

			int a = Integer.parseInt(inputNum[0]);
			int b = Integer.parseInt(inputNum[2]);

			if (inputNum[1].equals("+")) {
				System.out.println(a + b);
			}else if (inputNum[1].equals("-")) {
				System.out.println(a - b);
			}else if (inputNum[1].equals("*")) {
				System.out.println(a * b);
			}else if (inputNum[1].equals("/")) {
				System.out.println(a / b);
			}else if (inputNum[1].equals("?")) {
				break;
			}
		}

	}

} 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));

		while (true) {
			String[] inputNum = br.readLine().split(" ");

			int a = Integer.parseInt(inputNum[0]);
			int b = Integer.parseInt(inputNum[2]);

			if (inputNum[1].equals("+")) {
				System.out.println(a + b);
			}else if (inputNum[1].equals("-")) {
				System.out.println(a - b);
			}else if (inputNum[1].equals("*")) {
				System.out.println(a * b);
			}else if (inputNum[1].equals("/")) {
				System.out.println(a / b);
			}else if (inputNum[1].equals("?")) {
				break;
			}
		}

	}

} Main public static void main(String[] args) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		while (true) {
			String[] inputNum = br.readLine().split(" ");

			int a = Integer.parseInt(inputNum[0]);
			int b = Integer.parseInt(inputNum[2]);

			if (inputNum[1].equals("+")) {
				System.out.println(a + b);
			}else if (inputNum[1].equals("-")) {
				System.out.println(a - b);
			}else if (inputNum[1].equals("*")) {
				System.out.println(a * b);
			}else if (inputNum[1].equals("/")) {
				System.out.println(a / b);
			}else if (inputNum[1].equals("?")) {
				break;
			}
		}

	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		while (true) {
			String[] inputNum = br.readLine().split(" ");

			int a = Integer.parseInt(inputNum[0]);
			int b = Integer.parseInt(inputNum[2]);

			if (inputNum[1].equals("+")) {
				System.out.println(a + b);
			}else if (inputNum[1].equals("-")) {
				System.out.println(a - b);
			}else if (inputNum[1].equals("*")) {
				System.out.println(a * b);
			}else if (inputNum[1].equals("/")) {
				System.out.println(a / b);
			}else if (inputNum[1].equals("?")) {
				break;
			}
		}

	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) while (true) {
			String[] inputNum = br.readLine().split(" ");

			int a = Integer.parseInt(inputNum[0]);
			int b = Integer.parseInt(inputNum[2]);

			if (inputNum[1].equals("+")) {
				System.out.println(a + b);
			}else if (inputNum[1].equals("-")) {
				System.out.println(a - b);
			}else if (inputNum[1].equals("*")) {
				System.out.println(a * b);
			}else if (inputNum[1].equals("/")) {
				System.out.println(a / b);
			}else if (inputNum[1].equals("?")) {
				break;
			}
		} true {
			String[] inputNum = br.readLine().split(" ");

			int a = Integer.parseInt(inputNum[0]);
			int b = Integer.parseInt(inputNum[2]);

			if (inputNum[1].equals("+")) {
				System.out.println(a + b);
			}else if (inputNum[1].equals("-")) {
				System.out.println(a - b);
			}else if (inputNum[1].equals("*")) {
				System.out.println(a * b);
			}else if (inputNum[1].equals("/")) {
				System.out.println(a / b);
			}else if (inputNum[1].equals("?")) {
				break;
			}
		} String[] inputNum = br.readLine().split(" "); inputNum br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " int a = Integer.parseInt(inputNum[0]); a Integer.parseInt(inputNum[0]) Integer.parseInt Integer inputNum[0] inputNum 0 int b = Integer.parseInt(inputNum[2]); b Integer.parseInt(inputNum[2]) Integer.parseInt Integer inputNum[2] inputNum 2 if (inputNum[1].equals("+")) {
				System.out.println(a + b);
			}else if (inputNum[1].equals("-")) {
				System.out.println(a - b);
			}else if (inputNum[1].equals("*")) {
				System.out.println(a * b);
			}else if (inputNum[1].equals("/")) {
				System.out.println(a / b);
			}else if (inputNum[1].equals("?")) {
				break;
			} inputNum[1].equals("+") inputNum[1].equals inputNum[1] inputNum 1 "+" {
				System.out.println(a + b);
			} System.out.println(a + b) System.out.println System.out System System.out a + b a b if (inputNum[1].equals("-")) {
				System.out.println(a - b);
			}else if (inputNum[1].equals("*")) {
				System.out.println(a * b);
			}else if (inputNum[1].equals("/")) {
				System.out.println(a / b);
			}else if (inputNum[1].equals("?")) {
				break;
			} inputNum[1].equals("-") inputNum[1].equals inputNum[1] inputNum 1 "-" {
				System.out.println(a - b);
			} System.out.println(a - b) System.out.println System.out System System.out a - b a b if (inputNum[1].equals("*")) {
				System.out.println(a * b);
			}else if (inputNum[1].equals("/")) {
				System.out.println(a / b);
			}else if (inputNum[1].equals("?")) {
				break;
			} inputNum[1].equals("*") inputNum[1].equals inputNum[1] inputNum 1 "*" {
				System.out.println(a * b);
			} System.out.println(a * b) System.out.println System.out System System.out a * b a b if (inputNum[1].equals("/")) {
				System.out.println(a / b);
			}else if (inputNum[1].equals("?")) {
				break;
			} inputNum[1].equals("/") inputNum[1].equals inputNum[1] inputNum 1 "/" {
				System.out.println(a / b);
			} System.out.println(a / b) System.out.println System.out System System.out a / b a b if (inputNum[1].equals("?")) {
				break;
			} inputNum[1].equals("?") inputNum[1].equals inputNum[1] inputNum 1 "?" {
				break;
			} break; String[] args args public class Main {

	public static void main(String[] args) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		while (true) {
			String[] inputNum = br.readLine().split(" ");

			int a = Integer.parseInt(inputNum[0]);
			int b = Integer.parseInt(inputNum[2]);

			if (inputNum[1].equals("+")) {
				System.out.println(a + b);
			}else if (inputNum[1].equals("-")) {
				System.out.println(a - b);
			}else if (inputNum[1].equals("*")) {
				System.out.println(a * b);
			}else if (inputNum[1].equals("/")) {
				System.out.println(a / b);
			}else if (inputNum[1].equals("?")) {
				break;
			}
		}

	}

} public class Main {

	public static void main(String[] args) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		while (true) {
			String[] inputNum = br.readLine().split(" ");

			int a = Integer.parseInt(inputNum[0]);
			int b = Integer.parseInt(inputNum[2]);

			if (inputNum[1].equals("+")) {
				System.out.println(a + b);
			}else if (inputNum[1].equals("-")) {
				System.out.println(a - b);
			}else if (inputNum[1].equals("*")) {
				System.out.println(a * b);
			}else if (inputNum[1].equals("/")) {
				System.out.println(a / b);
			}else if (inputNum[1].equals("?")) {
				break;
			}
		}

	}

} 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));

		while (true) {
			String[] inputNum = br.readLine().split(" ");

			int a = Integer.parseInt(inputNum[0]);
			int b = Integer.parseInt(inputNum[2]);

			if (inputNum[1].equals("+")) {
				System.out.println(a + b);
			}else if (inputNum[1].equals("-")) {
				System.out.println(a - b);
			}else if (inputNum[1].equals("*")) {
				System.out.println(a * b);
			}else if (inputNum[1].equals("/")) {
				System.out.println(a / b);
			}else if (inputNum[1].equals("?")) {
				break;
			}
		}

	}

}