import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		StringBuilder sb = new StringBuilder();
		Scanner scan = new Scanner(System.in);
		
		while(true) {
			int a = scan.nextInt();
			String op = scan.next();
			int b = scan.nextInt();
			
			if (a < 0 || b < 0 || a > 20000 || b > 20000) {
				System.out.println("Error!");
			}
		
			if (op.equals("?"))
				break;
			if (op.equals("+")) {
				sb.append(a+b).append('\n');
			}
			if (op.equals("-")) {
				sb.append(a-b).append('\n');
			}
			if (op.equals("*")) {
				sb.append(a*b).append('\n');
			}
			if (op.equals("/")) {
				sb.append(a/b).append('\n');
			}
		}
		System.out.print(sb);
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		StringBuilder sb = new StringBuilder();
		Scanner scan = new Scanner(System.in);
		
		while(true) {
			int a = scan.nextInt();
			String op = scan.next();
			int b = scan.nextInt();
			
			if (a < 0 || b < 0 || a > 20000 || b > 20000) {
				System.out.println("Error!");
			}
		
			if (op.equals("?"))
				break;
			if (op.equals("+")) {
				sb.append(a+b).append('\n');
			}
			if (op.equals("-")) {
				sb.append(a-b).append('\n');
			}
			if (op.equals("*")) {
				sb.append(a*b).append('\n');
			}
			if (op.equals("/")) {
				sb.append(a/b).append('\n');
			}
		}
		System.out.print(sb);
	}
} Main public static void main(String[] args) {
		StringBuilder sb = new StringBuilder();
		Scanner scan = new Scanner(System.in);
		
		while(true) {
			int a = scan.nextInt();
			String op = scan.next();
			int b = scan.nextInt();
			
			if (a < 0 || b < 0 || a > 20000 || b > 20000) {
				System.out.println("Error!");
			}
		
			if (op.equals("?"))
				break;
			if (op.equals("+")) {
				sb.append(a+b).append('\n');
			}
			if (op.equals("-")) {
				sb.append(a-b).append('\n');
			}
			if (op.equals("*")) {
				sb.append(a*b).append('\n');
			}
			if (op.equals("/")) {
				sb.append(a/b).append('\n');
			}
		}
		System.out.print(sb);
	} main {
		StringBuilder sb = new StringBuilder();
		Scanner scan = new Scanner(System.in);
		
		while(true) {
			int a = scan.nextInt();
			String op = scan.next();
			int b = scan.nextInt();
			
			if (a < 0 || b < 0 || a > 20000 || b > 20000) {
				System.out.println("Error!");
			}
		
			if (op.equals("?"))
				break;
			if (op.equals("+")) {
				sb.append(a+b).append('\n');
			}
			if (op.equals("-")) {
				sb.append(a-b).append('\n');
			}
			if (op.equals("*")) {
				sb.append(a*b).append('\n');
			}
			if (op.equals("/")) {
				sb.append(a/b).append('\n');
			}
		}
		System.out.print(sb);
	} StringBuilder sb = new StringBuilder(); sb new StringBuilder() Scanner scan = new Scanner(System.in); scan new Scanner(System.in) while(true) {
			int a = scan.nextInt();
			String op = scan.next();
			int b = scan.nextInt();
			
			if (a < 0 || b < 0 || a > 20000 || b > 20000) {
				System.out.println("Error!");
			}
		
			if (op.equals("?"))
				break;
			if (op.equals("+")) {
				sb.append(a+b).append('\n');
			}
			if (op.equals("-")) {
				sb.append(a-b).append('\n');
			}
			if (op.equals("*")) {
				sb.append(a*b).append('\n');
			}
			if (op.equals("/")) {
				sb.append(a/b).append('\n');
			}
		} true {
			int a = scan.nextInt();
			String op = scan.next();
			int b = scan.nextInt();
			
			if (a < 0 || b < 0 || a > 20000 || b > 20000) {
				System.out.println("Error!");
			}
		
			if (op.equals("?"))
				break;
			if (op.equals("+")) {
				sb.append(a+b).append('\n');
			}
			if (op.equals("-")) {
				sb.append(a-b).append('\n');
			}
			if (op.equals("*")) {
				sb.append(a*b).append('\n');
			}
			if (op.equals("/")) {
				sb.append(a/b).append('\n');
			}
		} int a = scan.nextInt(); a scan.nextInt() scan.nextInt scan String op = scan.next(); op scan.next() scan.next scan int b = scan.nextInt(); b scan.nextInt() scan.nextInt scan if (a < 0 || b < 0 || a > 20000 || b > 20000) {
				System.out.println("Error!");
			} a < 0 || b < 0 || a > 20000 || b > 20000 a > 20000 a < 0 || b < 0 || a > 20000 || b > 20000 a < 0 a 0 b < 0 b 0 a > 20000 a 20000 b > 20000 b 20000 {
				System.out.println("Error!");
			} System.out.println("Error!") System.out.println System.out System System.out "Error!" if (op.equals("?"))
				break; op.equals("?") op.equals op "?" break; if (op.equals("+")) {
				sb.append(a+b).append('\n');
			} op.equals("+") op.equals op "+" {
				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 (op.equals("-")) {
				sb.append(a-b).append('\n');
			} op.equals("-") op.equals op "-" {
				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 (op.equals("*")) {
				sb.append(a*b).append('\n');
			} op.equals("*") op.equals op "*" {
				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 (op.equals("/")) {
				sb.append(a/b).append('\n');
			} op.equals("/") op.equals op "/" {
				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) System.out.print System.out System System.out sb String[] args args public class Main {
	public static void main(String[] args) {
		StringBuilder sb = new StringBuilder();
		Scanner scan = new Scanner(System.in);
		
		while(true) {
			int a = scan.nextInt();
			String op = scan.next();
			int b = scan.nextInt();
			
			if (a < 0 || b < 0 || a > 20000 || b > 20000) {
				System.out.println("Error!");
			}
		
			if (op.equals("?"))
				break;
			if (op.equals("+")) {
				sb.append(a+b).append('\n');
			}
			if (op.equals("-")) {
				sb.append(a-b).append('\n');
			}
			if (op.equals("*")) {
				sb.append(a*b).append('\n');
			}
			if (op.equals("/")) {
				sb.append(a/b).append('\n');
			}
		}
		System.out.print(sb);
	}
} public class Main {
	public static void main(String[] args) {
		StringBuilder sb = new StringBuilder();
		Scanner scan = new Scanner(System.in);
		
		while(true) {
			int a = scan.nextInt();
			String op = scan.next();
			int b = scan.nextInt();
			
			if (a < 0 || b < 0 || a > 20000 || b > 20000) {
				System.out.println("Error!");
			}
		
			if (op.equals("?"))
				break;
			if (op.equals("+")) {
				sb.append(a+b).append('\n');
			}
			if (op.equals("-")) {
				sb.append(a-b).append('\n');
			}
			if (op.equals("*")) {
				sb.append(a*b).append('\n');
			}
			if (op.equals("/")) {
				sb.append(a/b).append('\n');
			}
		}
		System.out.print(sb);
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		StringBuilder sb = new StringBuilder();
		Scanner scan = new Scanner(System.in);
		
		while(true) {
			int a = scan.nextInt();
			String op = scan.next();
			int b = scan.nextInt();
			
			if (a < 0 || b < 0 || a > 20000 || b > 20000) {
				System.out.println("Error!");
			}
		
			if (op.equals("?"))
				break;
			if (op.equals("+")) {
				sb.append(a+b).append('\n');
			}
			if (op.equals("-")) {
				sb.append(a-b).append('\n');
			}
			if (op.equals("*")) {
				sb.append(a*b).append('\n');
			}
			if (op.equals("/")) {
				sb.append(a/b).append('\n');
			}
		}
		System.out.print(sb);
	}
}