

import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		while (true) {
			int a = scanner.nextInt();
			String b = scanner.next();
			int c = scanner.nextInt();
			if (b.equals("?"))
				break;
			int e = 0;
			if (b.equals("+"))
				e = a + c;
			else if (b.equals("-"))
				e = a - c;
			else if (b.equals("*"))
				e = a * c;
			else
				e = a / c;
			System.out.println(e);

		}
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		while (true) {
			int a = scanner.nextInt();
			String b = scanner.next();
			int c = scanner.nextInt();
			if (b.equals("?"))
				break;
			int e = 0;
			if (b.equals("+"))
				e = a + c;
			else if (b.equals("-"))
				e = a - c;
			else if (b.equals("*"))
				e = a * c;
			else
				e = a / c;
			System.out.println(e);

		}
	}
} Main public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		while (true) {
			int a = scanner.nextInt();
			String b = scanner.next();
			int c = scanner.nextInt();
			if (b.equals("?"))
				break;
			int e = 0;
			if (b.equals("+"))
				e = a + c;
			else if (b.equals("-"))
				e = a - c;
			else if (b.equals("*"))
				e = a * c;
			else
				e = a / c;
			System.out.println(e);

		}
	} main {
		Scanner scanner = new Scanner(System.in);
		while (true) {
			int a = scanner.nextInt();
			String b = scanner.next();
			int c = scanner.nextInt();
			if (b.equals("?"))
				break;
			int e = 0;
			if (b.equals("+"))
				e = a + c;
			else if (b.equals("-"))
				e = a - c;
			else if (b.equals("*"))
				e = a * c;
			else
				e = a / c;
			System.out.println(e);

		}
	} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) while (true) {
			int a = scanner.nextInt();
			String b = scanner.next();
			int c = scanner.nextInt();
			if (b.equals("?"))
				break;
			int e = 0;
			if (b.equals("+"))
				e = a + c;
			else if (b.equals("-"))
				e = a - c;
			else if (b.equals("*"))
				e = a * c;
			else
				e = a / c;
			System.out.println(e);

		} true {
			int a = scanner.nextInt();
			String b = scanner.next();
			int c = scanner.nextInt();
			if (b.equals("?"))
				break;
			int e = 0;
			if (b.equals("+"))
				e = a + c;
			else if (b.equals("-"))
				e = a - c;
			else if (b.equals("*"))
				e = a * c;
			else
				e = a / c;
			System.out.println(e);

		} int a = scanner.nextInt(); a scanner.nextInt() scanner.nextInt scanner String b = scanner.next(); b scanner.next() scanner.next scanner int c = scanner.nextInt(); c scanner.nextInt() scanner.nextInt scanner if (b.equals("?"))
				break; b.equals("?") b.equals b "?" break; int e = 0; e 0 if (b.equals("+"))
				e = a + c;
			else if (b.equals("-"))
				e = a - c;
			else if (b.equals("*"))
				e = a * c;
			else
				e = a / c; b.equals("+") b.equals b "+" e = a + c e a + c a c if (b.equals("-"))
				e = a - c;
			else if (b.equals("*"))
				e = a * c;
			else
				e = a / c; b.equals("-") b.equals b "-" e = a - c e a - c a c if (b.equals("*"))
				e = a * c;
			else
				e = a / c; b.equals("*") b.equals b "*" e = a * c e a * c a c e = a / c e a / c a c System.out.println(e) System.out.println System.out System System.out e String[] args args public class Main {
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		while (true) {
			int a = scanner.nextInt();
			String b = scanner.next();
			int c = scanner.nextInt();
			if (b.equals("?"))
				break;
			int e = 0;
			if (b.equals("+"))
				e = a + c;
			else if (b.equals("-"))
				e = a - c;
			else if (b.equals("*"))
				e = a * c;
			else
				e = a / c;
			System.out.println(e);

		}
	}
} public class Main {
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		while (true) {
			int a = scanner.nextInt();
			String b = scanner.next();
			int c = scanner.nextInt();
			if (b.equals("?"))
				break;
			int e = 0;
			if (b.equals("+"))
				e = a + c;
			else if (b.equals("-"))
				e = a - c;
			else if (b.equals("*"))
				e = a * c;
			else
				e = a / c;
			System.out.println(e);

		}
	}
} Main


import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		while (true) {
			int a = scanner.nextInt();
			String b = scanner.next();
			int c = scanner.nextInt();
			if (b.equals("?"))
				break;
			int e = 0;
			if (b.equals("+"))
				e = a + c;
			else if (b.equals("-"))
				e = a - c;
			else if (b.equals("*"))
				e = a * c;
			else
				e = a / c;
			System.out.println(e);

		}
	}
}