import java.util.Scanner;

public class Main {
	private static Scanner sc;
	
	public static void main(String[] args) {
		sc = new Scanner(System.in);
		int a = sc.nextInt();
		String op = sc.next();
		int b = sc.nextInt();
		
		for (;!op.equals("?");) {
			int ans = 0;
			switch (op) {
			case "+":
				ans = a + b;
				break;
			case "-":
				ans = a - b;
				break;
			case "*":
				ans = a * b;
				break;
			case "/":
				if (a == 0) {
					break;
				}
				ans = a / b;
			}
			System.out.println(ans);
			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();
		}
	}
} import java.util.Scanner; Scanner java.util public class Main {
	private static Scanner sc;
	
	public static void main(String[] args) {
		sc = new Scanner(System.in);
		int a = sc.nextInt();
		String op = sc.next();
		int b = sc.nextInt();
		
		for (;!op.equals("?");) {
			int ans = 0;
			switch (op) {
			case "+":
				ans = a + b;
				break;
			case "-":
				ans = a - b;
				break;
			case "*":
				ans = a * b;
				break;
			case "/":
				if (a == 0) {
					break;
				}
				ans = a / b;
			}
			System.out.println(ans);
			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();
		}
	}
} Main private static Scanner sc; sc public static void main(String[] args) {
		sc = new Scanner(System.in);
		int a = sc.nextInt();
		String op = sc.next();
		int b = sc.nextInt();
		
		for (;!op.equals("?");) {
			int ans = 0;
			switch (op) {
			case "+":
				ans = a + b;
				break;
			case "-":
				ans = a - b;
				break;
			case "*":
				ans = a * b;
				break;
			case "/":
				if (a == 0) {
					break;
				}
				ans = a / b;
			}
			System.out.println(ans);
			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();
		}
	} main {
		sc = new Scanner(System.in);
		int a = sc.nextInt();
		String op = sc.next();
		int b = sc.nextInt();
		
		for (;!op.equals("?");) {
			int ans = 0;
			switch (op) {
			case "+":
				ans = a + b;
				break;
			case "-":
				ans = a - b;
				break;
			case "*":
				ans = a * b;
				break;
			case "/":
				if (a == 0) {
					break;
				}
				ans = a / b;
			}
			System.out.println(ans);
			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();
		}
	} sc = new Scanner(System.in) sc new Scanner(System.in) int a = sc.nextInt(); a sc.nextInt() sc.nextInt sc String op = sc.next(); op sc.next() sc.next sc int b = sc.nextInt(); b sc.nextInt() sc.nextInt sc for (;!op.equals("?");) {
			int ans = 0;
			switch (op) {
			case "+":
				ans = a + b;
				break;
			case "-":
				ans = a - b;
				break;
			case "*":
				ans = a * b;
				break;
			case "/":
				if (a == 0) {
					break;
				}
				ans = a / b;
			}
			System.out.println(ans);
			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();
		} ; !op.equals("?") op.equals("?") op.equals op "?" {
			int ans = 0;
			switch (op) {
			case "+":
				ans = a + b;
				break;
			case "-":
				ans = a - b;
				break;
			case "*":
				ans = a * b;
				break;
			case "/":
				if (a == 0) {
					break;
				}
				ans = a / b;
			}
			System.out.println(ans);
			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();
		} {
			int ans = 0;
			switch (op) {
			case "+":
				ans = a + b;
				break;
			case "-":
				ans = a - b;
				break;
			case "*":
				ans = a * b;
				break;
			case "/":
				if (a == 0) {
					break;
				}
				ans = a / b;
			}
			System.out.println(ans);
			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();
		} int ans = 0; ans 0 switch (op) {
			case "+":
				ans = a + b;
				break;
			case "-":
				ans = a - b;
				break;
			case "*":
				ans = a * b;
				break;
			case "/":
				if (a == 0) {
					break;
				}
				ans = a / b;
			} op case "+": "+" case "+": ans = a + b ans a + b a b break; case "-": "-" case "-": ans = a - b ans a - b a b break; case "*": "*" case "*": ans = a * b ans a * b a b break; case "/": "/" case "/": if (a == 0) {
					break;
				} a == 0 a 0 {
					break;
				} break; ans = a / b ans a / b a b System.out.println(ans) System.out.println System.out System System.out ans a = sc.nextInt() a sc.nextInt() sc.nextInt sc op = sc.next() op sc.next() sc.next sc b = sc.nextInt() b sc.nextInt() sc.nextInt sc String[] args args public class Main {
	private static Scanner sc;
	
	public static void main(String[] args) {
		sc = new Scanner(System.in);
		int a = sc.nextInt();
		String op = sc.next();
		int b = sc.nextInt();
		
		for (;!op.equals("?");) {
			int ans = 0;
			switch (op) {
			case "+":
				ans = a + b;
				break;
			case "-":
				ans = a - b;
				break;
			case "*":
				ans = a * b;
				break;
			case "/":
				if (a == 0) {
					break;
				}
				ans = a / b;
			}
			System.out.println(ans);
			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();
		}
	}
} public class Main {
	private static Scanner sc;
	
	public static void main(String[] args) {
		sc = new Scanner(System.in);
		int a = sc.nextInt();
		String op = sc.next();
		int b = sc.nextInt();
		
		for (;!op.equals("?");) {
			int ans = 0;
			switch (op) {
			case "+":
				ans = a + b;
				break;
			case "-":
				ans = a - b;
				break;
			case "*":
				ans = a * b;
				break;
			case "/":
				if (a == 0) {
					break;
				}
				ans = a / b;
			}
			System.out.println(ans);
			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();
		}
	}
} Main
import java.util.Scanner;

public class Main {
	private static Scanner sc;
	
	public static void main(String[] args) {
		sc = new Scanner(System.in);
		int a = sc.nextInt();
		String op = sc.next();
		int b = sc.nextInt();
		
		for (;!op.equals("?");) {
			int ans = 0;
			switch (op) {
			case "+":
				ans = a + b;
				break;
			case "-":
				ans = a - b;
				break;
			case "*":
				ans = a * b;
				break;
			case "/":
				if (a == 0) {
					break;
				}
				ans = a / b;
			}
			System.out.println(ans);
			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();
		}
	}
}