import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		
		loop: while (true) {
			long a = scanner.nextInt();
			String op = scanner.next();
			long b = scanner.nextInt();
			
			switch (op) {
			case "+":
				System.out.println(a + b);
				break;

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

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

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

			case "?":
				break loop;
			}
		}

		scanner.close();
	}

}
 import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		
		loop: while (true) {
			long a = scanner.nextInt();
			String op = scanner.next();
			long b = scanner.nextInt();
			
			switch (op) {
			case "+":
				System.out.println(a + b);
				break;

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

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

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

			case "?":
				break loop;
			}
		}

		scanner.close();
	}

} Main public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		
		loop: while (true) {
			long a = scanner.nextInt();
			String op = scanner.next();
			long b = scanner.nextInt();
			
			switch (op) {
			case "+":
				System.out.println(a + b);
				break;

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

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

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

			case "?":
				break loop;
			}
		}

		scanner.close();
	} main {
		Scanner scanner = new Scanner(System.in);
		
		loop: while (true) {
			long a = scanner.nextInt();
			String op = scanner.next();
			long b = scanner.nextInt();
			
			switch (op) {
			case "+":
				System.out.println(a + b);
				break;

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

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

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

			case "?":
				break loop;
			}
		}

		scanner.close();
	} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) scanner.close() scanner.close scanner String[] args args public class Main {
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		
		loop: while (true) {
			long a = scanner.nextInt();
			String op = scanner.next();
			long b = scanner.nextInt();
			
			switch (op) {
			case "+":
				System.out.println(a + b);
				break;

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

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

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

			case "?":
				break loop;
			}
		}

		scanner.close();
	}

} public class Main {
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		
		loop: while (true) {
			long a = scanner.nextInt();
			String op = scanner.next();
			long b = scanner.nextInt();
			
			switch (op) {
			case "+":
				System.out.println(a + b);
				break;

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

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

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

			case "?":
				break loop;
			}
		}

		scanner.close();
	}

} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		
		loop: while (true) {
			long a = scanner.nextInt();
			String op = scanner.next();
			long b = scanner.nextInt();
			
			switch (op) {
			case "+":
				System.out.println(a + b);
				break;

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

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

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

			case "?":
				break loop;
			}
		}

		scanner.close();
	}

}

