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));
		StringBuffer sb = new StringBuffer();

		while (true) {
			String[] array = br.readLine().split(" ");
			int a = Integer.parseInt(array[0]);
			int b = Integer.parseInt(array[2]);

			if ("?".equals(array[1])) {
				break;
			}
			if ("+".equals(array[1])) {
				sb.append((a + b)).append("\n");
			} else if ("-".equals(array[1])) {
				sb.append((a-b)).append("\n");
			} else if ("*".equals(array[1])) {
				sb.append((a*b)).append("\n");
			} else if ("/".equals(array[1])) {
				sb.append((a/b)).append("\n");
			}
		}

		System.out.print(sb.toString());
	}
} 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));
		StringBuffer sb = new StringBuffer();

		while (true) {
			String[] array = br.readLine().split(" ");
			int a = Integer.parseInt(array[0]);
			int b = Integer.parseInt(array[2]);

			if ("?".equals(array[1])) {
				break;
			}
			if ("+".equals(array[1])) {
				sb.append((a + b)).append("\n");
			} else if ("-".equals(array[1])) {
				sb.append((a-b)).append("\n");
			} else if ("*".equals(array[1])) {
				sb.append((a*b)).append("\n");
			} else if ("/".equals(array[1])) {
				sb.append((a/b)).append("\n");
			}
		}

		System.out.print(sb.toString());
	}
} Main public static void main(String[] args) throws IOException {

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		StringBuffer sb = new StringBuffer();

		while (true) {
			String[] array = br.readLine().split(" ");
			int a = Integer.parseInt(array[0]);
			int b = Integer.parseInt(array[2]);

			if ("?".equals(array[1])) {
				break;
			}
			if ("+".equals(array[1])) {
				sb.append((a + b)).append("\n");
			} else if ("-".equals(array[1])) {
				sb.append((a-b)).append("\n");
			} else if ("*".equals(array[1])) {
				sb.append((a*b)).append("\n");
			} else if ("/".equals(array[1])) {
				sb.append((a/b)).append("\n");
			}
		}

		System.out.print(sb.toString());
	} main {

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		StringBuffer sb = new StringBuffer();

		while (true) {
			String[] array = br.readLine().split(" ");
			int a = Integer.parseInt(array[0]);
			int b = Integer.parseInt(array[2]);

			if ("?".equals(array[1])) {
				break;
			}
			if ("+".equals(array[1])) {
				sb.append((a + b)).append("\n");
			} else if ("-".equals(array[1])) {
				sb.append((a-b)).append("\n");
			} else if ("*".equals(array[1])) {
				sb.append((a*b)).append("\n");
			} else if ("/".equals(array[1])) {
				sb.append((a/b)).append("\n");
			}
		}

		System.out.print(sb.toString());
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) StringBuffer sb = new StringBuffer(); sb new StringBuffer() while (true) {
			String[] array = br.readLine().split(" ");
			int a = Integer.parseInt(array[0]);
			int b = Integer.parseInt(array[2]);

			if ("?".equals(array[1])) {
				break;
			}
			if ("+".equals(array[1])) {
				sb.append((a + b)).append("\n");
			} else if ("-".equals(array[1])) {
				sb.append((a-b)).append("\n");
			} else if ("*".equals(array[1])) {
				sb.append((a*b)).append("\n");
			} else if ("/".equals(array[1])) {
				sb.append((a/b)).append("\n");
			}
		} true {
			String[] array = br.readLine().split(" ");
			int a = Integer.parseInt(array[0]);
			int b = Integer.parseInt(array[2]);

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

	public static void main(String[] args) throws IOException {

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		StringBuffer sb = new StringBuffer();

		while (true) {
			String[] array = br.readLine().split(" ");
			int a = Integer.parseInt(array[0]);
			int b = Integer.parseInt(array[2]);

			if ("?".equals(array[1])) {
				break;
			}
			if ("+".equals(array[1])) {
				sb.append((a + b)).append("\n");
			} else if ("-".equals(array[1])) {
				sb.append((a-b)).append("\n");
			} else if ("*".equals(array[1])) {
				sb.append((a*b)).append("\n");
			} else if ("/".equals(array[1])) {
				sb.append((a/b)).append("\n");
			}
		}

		System.out.print(sb.toString());
	}
} public class Main {

	public static void main(String[] args) throws IOException {

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		StringBuffer sb = new StringBuffer();

		while (true) {
			String[] array = br.readLine().split(" ");
			int a = Integer.parseInt(array[0]);
			int b = Integer.parseInt(array[2]);

			if ("?".equals(array[1])) {
				break;
			}
			if ("+".equals(array[1])) {
				sb.append((a + b)).append("\n");
			} else if ("-".equals(array[1])) {
				sb.append((a-b)).append("\n");
			} else if ("*".equals(array[1])) {
				sb.append((a*b)).append("\n");
			} else if ("/".equals(array[1])) {
				sb.append((a/b)).append("\n");
			}
		}

		System.out.print(sb.toString());
	}
} 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));
		StringBuffer sb = new StringBuffer();

		while (true) {
			String[] array = br.readLine().split(" ");
			int a = Integer.parseInt(array[0]);
			int b = Integer.parseInt(array[2]);

			if ("?".equals(array[1])) {
				break;
			}
			if ("+".equals(array[1])) {
				sb.append((a + b)).append("\n");
			} else if ("-".equals(array[1])) {
				sb.append((a-b)).append("\n");
			} else if ("*".equals(array[1])) {
				sb.append((a*b)).append("\n");
			} else if ("/".equals(array[1])) {
				sb.append((a/b)).append("\n");
			}
		}

		System.out.print(sb.toString());
	}
}