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

		int answer = 0;
		int flag = 0;


		while(flag != 1){
			String inputData = br.readLine();
			String[] inputValue = inputData.split(" ");

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

			String operator = inputValue[1];
			switch(operator){
				case "+":
					answer = a + b;
					System.out.println(answer);
					break;

				case "-":
					answer = a - b;
					System.out.println(answer);
					break;

				case "*":
					answer = a * b;
					System.out.println(answer);
					break;

				case "/":
					answer = a / b;
					System.out.println(answer);
					break;

				case "?":
					flag ++;
					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));

		int answer = 0;
		int flag = 0;


		while(flag != 1){
			String inputData = br.readLine();
			String[] inputValue = inputData.split(" ");

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

			String operator = inputValue[1];
			switch(operator){
				case "+":
					answer = a + b;
					System.out.println(answer);
					break;

				case "-":
					answer = a - b;
					System.out.println(answer);
					break;

				case "*":
					answer = a * b;
					System.out.println(answer);
					break;

				case "/":
					answer = a / b;
					System.out.println(answer);
					break;

				case "?":
					flag ++;
					break;
			}



		}
	}

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

		int answer = 0;
		int flag = 0;


		while(flag != 1){
			String inputData = br.readLine();
			String[] inputValue = inputData.split(" ");

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

			String operator = inputValue[1];
			switch(operator){
				case "+":
					answer = a + b;
					System.out.println(answer);
					break;

				case "-":
					answer = a - b;
					System.out.println(answer);
					break;

				case "*":
					answer = a * b;
					System.out.println(answer);
					break;

				case "/":
					answer = a / b;
					System.out.println(answer);
					break;

				case "?":
					flag ++;
					break;
			}



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

		int answer = 0;
		int flag = 0;


		while(flag != 1){
			String inputData = br.readLine();
			String[] inputValue = inputData.split(" ");

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

			String operator = inputValue[1];
			switch(operator){
				case "+":
					answer = a + b;
					System.out.println(answer);
					break;

				case "-":
					answer = a - b;
					System.out.println(answer);
					break;

				case "*":
					answer = a * b;
					System.out.println(answer);
					break;

				case "/":
					answer = a / b;
					System.out.println(answer);
					break;

				case "?":
					flag ++;
					break;
			}



		}
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) int answer = 0; answer 0 int flag = 0; flag 0 while(flag != 1){
			String inputData = br.readLine();
			String[] inputValue = inputData.split(" ");

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

			String operator = inputValue[1];
			switch(operator){
				case "+":
					answer = a + b;
					System.out.println(answer);
					break;

				case "-":
					answer = a - b;
					System.out.println(answer);
					break;

				case "*":
					answer = a * b;
					System.out.println(answer);
					break;

				case "/":
					answer = a / b;
					System.out.println(answer);
					break;

				case "?":
					flag ++;
					break;
			}



		} flag != 1 flag 1 {
			String inputData = br.readLine();
			String[] inputValue = inputData.split(" ");

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

			String operator = inputValue[1];
			switch(operator){
				case "+":
					answer = a + b;
					System.out.println(answer);
					break;

				case "-":
					answer = a - b;
					System.out.println(answer);
					break;

				case "*":
					answer = a * b;
					System.out.println(answer);
					break;

				case "/":
					answer = a / b;
					System.out.println(answer);
					break;

				case "?":
					flag ++;
					break;
			}



		} String inputData = br.readLine(); inputData br.readLine() br.readLine br String[] inputValue = inputData.split(" "); inputValue inputData.split(" ") inputData.split inputData " " int a = Integer.parseInt(inputValue[0]); a Integer.parseInt(inputValue[0]) Integer.parseInt Integer inputValue[0] inputValue 0 int b = Integer.parseInt(inputValue[2]); b Integer.parseInt(inputValue[2]) Integer.parseInt Integer inputValue[2] inputValue 2 String operator = inputValue[1]; operator inputValue[1] inputValue 1 switch(operator){
				case "+":
					answer = a + b;
					System.out.println(answer);
					break;

				case "-":
					answer = a - b;
					System.out.println(answer);
					break;

				case "*":
					answer = a * b;
					System.out.println(answer);
					break;

				case "/":
					answer = a / b;
					System.out.println(answer);
					break;

				case "?":
					flag ++;
					break;
			} operator case "+": "+" case "+": answer = a + b answer a + b a b System.out.println(answer) System.out.println System.out System System.out answer break; case "-": "-" case "-": answer = a - b answer a - b a b System.out.println(answer) System.out.println System.out System System.out answer break; case "*": "*" case "*": answer = a * b answer a * b a b System.out.println(answer) System.out.println System.out System System.out answer break; case "/": "/" case "/": answer = a / b answer a / b a b System.out.println(answer) System.out.println System.out System System.out answer break; case "?": "?" case "?": flag ++ flag break; String[]args args public class Main {
	public static void main(String[]args)throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		int answer = 0;
		int flag = 0;


		while(flag != 1){
			String inputData = br.readLine();
			String[] inputValue = inputData.split(" ");

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

			String operator = inputValue[1];
			switch(operator){
				case "+":
					answer = a + b;
					System.out.println(answer);
					break;

				case "-":
					answer = a - b;
					System.out.println(answer);
					break;

				case "*":
					answer = a * b;
					System.out.println(answer);
					break;

				case "/":
					answer = a / b;
					System.out.println(answer);
					break;

				case "?":
					flag ++;
					break;
			}



		}
	}

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

		int answer = 0;
		int flag = 0;


		while(flag != 1){
			String inputData = br.readLine();
			String[] inputValue = inputData.split(" ");

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

			String operator = inputValue[1];
			switch(operator){
				case "+":
					answer = a + b;
					System.out.println(answer);
					break;

				case "-":
					answer = a - b;
					System.out.println(answer);
					break;

				case "*":
					answer = a * b;
					System.out.println(answer);
					break;

				case "/":
					answer = a / b;
					System.out.println(answer);
					break;

				case "?":
					flag ++;
					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));

		int answer = 0;
		int flag = 0;


		while(flag != 1){
			String inputData = br.readLine();
			String[] inputValue = inputData.split(" ");

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

			String operator = inputValue[1];
			switch(operator){
				case "+":
					answer = a + b;
					System.out.println(answer);
					break;

				case "-":
					answer = a - b;
					System.out.println(answer);
					break;

				case "*":
					answer = a * b;
					System.out.println(answer);
					break;

				case "/":
					answer = a / b;
					System.out.println(answer);
					break;

				case "?":
					flag ++;
					break;
			}



		}
	}

}