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

		loop: for(;;) {
		String num = br.readLine();
		String[] set = num.split(" ");

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

		switch(set[1]){
		case "+":
			sb.append(a + b).append("\n");
			break;
		case "-":
			sb.append(a - b).append("\n");
			break;
		case "*":
			sb.append(a * b).append("\n");
			break;
		case "/":
			sb.append(a / b).append("\n");
			break;
		case "?":
			break loop;
       }
	}

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

		loop: for(;;) {
		String num = br.readLine();
		String[] set = num.split(" ");

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

		switch(set[1]){
		case "+":
			sb.append(a + b).append("\n");
			break;
		case "-":
			sb.append(a - b).append("\n");
			break;
		case "*":
			sb.append(a * b).append("\n");
			break;
		case "/":
			sb.append(a / b).append("\n");
			break;
		case "?":
			break loop;
       }
	}

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

		loop: for(;;) {
		String num = br.readLine();
		String[] set = num.split(" ");

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

		switch(set[1]){
		case "+":
			sb.append(a + b).append("\n");
			break;
		case "-":
			sb.append(a - b).append("\n");
			break;
		case "*":
			sb.append(a * b).append("\n");
			break;
		case "/":
			sb.append(a / b).append("\n");
			break;
		case "?":
			break loop;
       }
	}

		System.out.print(sb);

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

		loop: for(;;) {
		String num = br.readLine();
		String[] set = num.split(" ");

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

		switch(set[1]){
		case "+":
			sb.append(a + b).append("\n");
			break;
		case "-":
			sb.append(a - b).append("\n");
			break;
		case "*":
			sb.append(a * b).append("\n");
			break;
		case "/":
			sb.append(a / b).append("\n");
			break;
		case "?":
			break loop;
       }
	}

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

		loop: for(;;) {
		String num = br.readLine();
		String[] set = num.split(" ");

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

		switch(set[1]){
		case "+":
			sb.append(a + b).append("\n");
			break;
		case "-":
			sb.append(a - b).append("\n");
			break;
		case "*":
			sb.append(a * b).append("\n");
			break;
		case "/":
			sb.append(a / b).append("\n");
			break;
		case "?":
			break loop;
       }
	}

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

		loop: for(;;) {
		String num = br.readLine();
		String[] set = num.split(" ");

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

		switch(set[1]){
		case "+":
			sb.append(a + b).append("\n");
			break;
		case "-":
			sb.append(a - b).append("\n");
			break;
		case "*":
			sb.append(a * b).append("\n");
			break;
		case "/":
			sb.append(a / b).append("\n");
			break;
		case "?":
			break loop;
       }
	}

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

		loop: for(;;) {
		String num = br.readLine();
		String[] set = num.split(" ");

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

		switch(set[1]){
		case "+":
			sb.append(a + b).append("\n");
			break;
		case "-":
			sb.append(a - b).append("\n");
			break;
		case "*":
			sb.append(a * b).append("\n");
			break;
		case "/":
			sb.append(a / b).append("\n");
			break;
		case "?":
			break loop;
       }
	}

		System.out.print(sb);

	}

}