import java.util.Scanner;
import java.io.IOException;

class Main {
	public static void main(String[] args) throws IOException {
		Scanner scan = new Scanner(System.in);
		while (true) {
			int a = scan.nextInt();
			String str = scan.next();
			int b = scan.nextInt();
			if (str.equals("?")) {
				break;
			}
			switch (str) {
			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;
			}
		}
	}
} import java.util.Scanner; Scanner java.util import java.io.IOException; IOException java.io class Main {
	public static void main(String[] args) throws IOException {
		Scanner scan = new Scanner(System.in);
		while (true) {
			int a = scan.nextInt();
			String str = scan.next();
			int b = scan.nextInt();
			if (str.equals("?")) {
				break;
			}
			switch (str) {
			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;
			}
		}
	}
} Main public static void main(String[] args) throws IOException {
		Scanner scan = new Scanner(System.in);
		while (true) {
			int a = scan.nextInt();
			String str = scan.next();
			int b = scan.nextInt();
			if (str.equals("?")) {
				break;
			}
			switch (str) {
			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;
			}
		}
	} main {
		Scanner scan = new Scanner(System.in);
		while (true) {
			int a = scan.nextInt();
			String str = scan.next();
			int b = scan.nextInt();
			if (str.equals("?")) {
				break;
			}
			switch (str) {
			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;
			}
		}
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) while (true) {
			int a = scan.nextInt();
			String str = scan.next();
			int b = scan.nextInt();
			if (str.equals("?")) {
				break;
			}
			switch (str) {
			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;
			}
		} true {
			int a = scan.nextInt();
			String str = scan.next();
			int b = scan.nextInt();
			if (str.equals("?")) {
				break;
			}
			switch (str) {
			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;
			}
		} int a = scan.nextInt(); a scan.nextInt() scan.nextInt scan String str = scan.next(); str scan.next() scan.next scan int b = scan.nextInt(); b scan.nextInt() scan.nextInt scan if (str.equals("?")) {
				break;
			} str.equals("?") str.equals str "?" {
				break;
			} break; switch (str) {
			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;
			} str case "+": "+" case "+": System.out.println(a + b) System.out.println System.out System System.out a + b a b break; case "-": "-" case "-": System.out.println(a - b) System.out.println System.out System System.out a - b a b break; case "*": "*" case "*": System.out.println(a * b) System.out.println System.out System System.out a * b a b break; case "/": "/" case "/": System.out.println(a / b) System.out.println System.out System System.out a / b a b break; String[] args args
import java.util.Scanner;
import java.io.IOException;

class Main {
	public static void main(String[] args) throws IOException {
		Scanner scan = new Scanner(System.in);
		while (true) {
			int a = scan.nextInt();
			String str = scan.next();
			int b = scan.nextInt();
			if (str.equals("?")) {
				break;
			}
			switch (str) {
			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;
			}
		}
	}
}