import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {
	public static void main(String[] args) {
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		try {
			while (true) {
				String[] s = reader.readLine().split(" ");
				int a = Integer.parseInt(s[0]);
				String op = s[1];
				int b = Integer.parseInt(s[2]);
				if (op.equals("+"))
					System.out.println(a + b);
				if (op.equals("-"))
					System.out.println(a - b);
				if (op.equals("*"))
					System.out.println(a * b);
				if (op.equals("/"))
					System.out.println(a / b);
				if (op.equals("?"))
					break;
			}
		} catch (IOException e) {
			System.out.println(e);
		}
	}
} 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) {
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		try {
			while (true) {
				String[] s = reader.readLine().split(" ");
				int a = Integer.parseInt(s[0]);
				String op = s[1];
				int b = Integer.parseInt(s[2]);
				if (op.equals("+"))
					System.out.println(a + b);
				if (op.equals("-"))
					System.out.println(a - b);
				if (op.equals("*"))
					System.out.println(a * b);
				if (op.equals("/"))
					System.out.println(a / b);
				if (op.equals("?"))
					break;
			}
		} catch (IOException e) {
			System.out.println(e);
		}
	}
} Main public static void main(String[] args) {
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		try {
			while (true) {
				String[] s = reader.readLine().split(" ");
				int a = Integer.parseInt(s[0]);
				String op = s[1];
				int b = Integer.parseInt(s[2]);
				if (op.equals("+"))
					System.out.println(a + b);
				if (op.equals("-"))
					System.out.println(a - b);
				if (op.equals("*"))
					System.out.println(a * b);
				if (op.equals("/"))
					System.out.println(a / b);
				if (op.equals("?"))
					break;
			}
		} catch (IOException e) {
			System.out.println(e);
		}
	} main {
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		try {
			while (true) {
				String[] s = reader.readLine().split(" ");
				int a = Integer.parseInt(s[0]);
				String op = s[1];
				int b = Integer.parseInt(s[2]);
				if (op.equals("+"))
					System.out.println(a + b);
				if (op.equals("-"))
					System.out.println(a - b);
				if (op.equals("*"))
					System.out.println(a * b);
				if (op.equals("/"))
					System.out.println(a / b);
				if (op.equals("?"))
					break;
			}
		} catch (IOException e) {
			System.out.println(e);
		}
	} BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); reader new BufferedReader(new InputStreamReader(System.in)) try {
			while (true) {
				String[] s = reader.readLine().split(" ");
				int a = Integer.parseInt(s[0]);
				String op = s[1];
				int b = Integer.parseInt(s[2]);
				if (op.equals("+"))
					System.out.println(a + b);
				if (op.equals("-"))
					System.out.println(a - b);
				if (op.equals("*"))
					System.out.println(a * b);
				if (op.equals("/"))
					System.out.println(a / b);
				if (op.equals("?"))
					break;
			}
		} catch (IOException e) {
			System.out.println(e);
		} catch (IOException e) {
			System.out.println(e);
		} IOException e {
			System.out.println(e);
		} System.out.println(e) System.out.println System.out System System.out e {
			while (true) {
				String[] s = reader.readLine().split(" ");
				int a = Integer.parseInt(s[0]);
				String op = s[1];
				int b = Integer.parseInt(s[2]);
				if (op.equals("+"))
					System.out.println(a + b);
				if (op.equals("-"))
					System.out.println(a - b);
				if (op.equals("*"))
					System.out.println(a * b);
				if (op.equals("/"))
					System.out.println(a / b);
				if (op.equals("?"))
					break;
			}
		} while (true) {
				String[] s = reader.readLine().split(" ");
				int a = Integer.parseInt(s[0]);
				String op = s[1];
				int b = Integer.parseInt(s[2]);
				if (op.equals("+"))
					System.out.println(a + b);
				if (op.equals("-"))
					System.out.println(a - b);
				if (op.equals("*"))
					System.out.println(a * b);
				if (op.equals("/"))
					System.out.println(a / b);
				if (op.equals("?"))
					break;
			} true {
				String[] s = reader.readLine().split(" ");
				int a = Integer.parseInt(s[0]);
				String op = s[1];
				int b = Integer.parseInt(s[2]);
				if (op.equals("+"))
					System.out.println(a + b);
				if (op.equals("-"))
					System.out.println(a - b);
				if (op.equals("*"))
					System.out.println(a * b);
				if (op.equals("/"))
					System.out.println(a / b);
				if (op.equals("?"))
					break;
			} String[] s = reader.readLine().split(" "); s reader.readLine().split(" ") reader.readLine().split reader.readLine() reader.readLine reader " " int a = Integer.parseInt(s[0]); a Integer.parseInt(s[0]) Integer.parseInt Integer s[0] s 0 String op = s[1]; op s[1] s 1 int b = Integer.parseInt(s[2]); b Integer.parseInt(s[2]) Integer.parseInt Integer s[2] s 2 if (op.equals("+"))
					System.out.println(a + b); op.equals("+") op.equals op "+" System.out.println(a + b) System.out.println System.out System System.out a + b a b if (op.equals("-"))
					System.out.println(a - b); op.equals("-") op.equals op "-" System.out.println(a - b) System.out.println System.out System System.out a - b a b if (op.equals("*"))
					System.out.println(a * b); op.equals("*") op.equals op "*" System.out.println(a * b) System.out.println System.out System System.out a * b a b if (op.equals("/"))
					System.out.println(a / b); op.equals("/") op.equals op "/" System.out.println(a / b) System.out.println System.out System System.out a / b a b if (op.equals("?"))
					break; op.equals("?") op.equals op "?" break; String[] args args public class Main {
	public static void main(String[] args) {
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		try {
			while (true) {
				String[] s = reader.readLine().split(" ");
				int a = Integer.parseInt(s[0]);
				String op = s[1];
				int b = Integer.parseInt(s[2]);
				if (op.equals("+"))
					System.out.println(a + b);
				if (op.equals("-"))
					System.out.println(a - b);
				if (op.equals("*"))
					System.out.println(a * b);
				if (op.equals("/"))
					System.out.println(a / b);
				if (op.equals("?"))
					break;
			}
		} catch (IOException e) {
			System.out.println(e);
		}
	}
} public class Main {
	public static void main(String[] args) {
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		try {
			while (true) {
				String[] s = reader.readLine().split(" ");
				int a = Integer.parseInt(s[0]);
				String op = s[1];
				int b = Integer.parseInt(s[2]);
				if (op.equals("+"))
					System.out.println(a + b);
				if (op.equals("-"))
					System.out.println(a - b);
				if (op.equals("*"))
					System.out.println(a * b);
				if (op.equals("/"))
					System.out.println(a / b);
				if (op.equals("?"))
					break;
			}
		} catch (IOException e) {
			System.out.println(e);
		}
	}
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {
	public static void main(String[] args) {
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		try {
			while (true) {
				String[] s = reader.readLine().split(" ");
				int a = Integer.parseInt(s[0]);
				String op = s[1];
				int b = Integer.parseInt(s[2]);
				if (op.equals("+"))
					System.out.println(a + b);
				if (op.equals("-"))
					System.out.println(a - b);
				if (op.equals("*"))
					System.out.println(a * b);
				if (op.equals("/"))
					System.out.println(a / b);
				if (op.equals("?"))
					break;
			}
		} catch (IOException e) {
			System.out.println(e);
		}
	}
}