import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		while (sc.hasNext()) {
			String[] s = sc.nextLine().split(" ");
			int a = Integer.parseInt(s[0]);
			String op = s[1];
			int b = Integer.parseInt(s[2]);
			if ("?".equals(op)) {
				return;
			}
			if ("+".equals(op)) {
				System.out.println(a + b);
			} else if ("*".equals(op)) {
				System.out.println(a * b);
			} else if ("/".equals(op)) {
				System.out.println(a / b);
			} else if ("-".equals(op)) {
				System.out.println(a - b);
			}
		}
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		while (sc.hasNext()) {
			String[] s = sc.nextLine().split(" ");
			int a = Integer.parseInt(s[0]);
			String op = s[1];
			int b = Integer.parseInt(s[2]);
			if ("?".equals(op)) {
				return;
			}
			if ("+".equals(op)) {
				System.out.println(a + b);
			} else if ("*".equals(op)) {
				System.out.println(a * b);
			} else if ("/".equals(op)) {
				System.out.println(a / b);
			} else if ("-".equals(op)) {
				System.out.println(a - b);
			}
		}
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		while (sc.hasNext()) {
			String[] s = sc.nextLine().split(" ");
			int a = Integer.parseInt(s[0]);
			String op = s[1];
			int b = Integer.parseInt(s[2]);
			if ("?".equals(op)) {
				return;
			}
			if ("+".equals(op)) {
				System.out.println(a + b);
			} else if ("*".equals(op)) {
				System.out.println(a * b);
			} else if ("/".equals(op)) {
				System.out.println(a / b);
			} else if ("-".equals(op)) {
				System.out.println(a - b);
			}
		}
	} main {
		Scanner sc = new Scanner(System.in);
		while (sc.hasNext()) {
			String[] s = sc.nextLine().split(" ");
			int a = Integer.parseInt(s[0]);
			String op = s[1];
			int b = Integer.parseInt(s[2]);
			if ("?".equals(op)) {
				return;
			}
			if ("+".equals(op)) {
				System.out.println(a + b);
			} else if ("*".equals(op)) {
				System.out.println(a * b);
			} else if ("/".equals(op)) {
				System.out.println(a / b);
			} else if ("-".equals(op)) {
				System.out.println(a - b);
			}
		}
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) while (sc.hasNext()) {
			String[] s = sc.nextLine().split(" ");
			int a = Integer.parseInt(s[0]);
			String op = s[1];
			int b = Integer.parseInt(s[2]);
			if ("?".equals(op)) {
				return;
			}
			if ("+".equals(op)) {
				System.out.println(a + b);
			} else if ("*".equals(op)) {
				System.out.println(a * b);
			} else if ("/".equals(op)) {
				System.out.println(a / b);
			} else if ("-".equals(op)) {
				System.out.println(a - b);
			}
		} sc.hasNext() sc.hasNext sc {
			String[] s = sc.nextLine().split(" ");
			int a = Integer.parseInt(s[0]);
			String op = s[1];
			int b = Integer.parseInt(s[2]);
			if ("?".equals(op)) {
				return;
			}
			if ("+".equals(op)) {
				System.out.println(a + b);
			} else if ("*".equals(op)) {
				System.out.println(a * b);
			} else if ("/".equals(op)) {
				System.out.println(a / b);
			} else if ("-".equals(op)) {
				System.out.println(a - b);
			}
		} String[] s = sc.nextLine().split(" "); s sc.nextLine().split(" ") sc.nextLine().split sc.nextLine() sc.nextLine sc " " int a = Integer.parseInt(s[0]); a Integer.parseInt(s[0]) Integer.parseInt Integer s[0] s 0 String op = s[1]; op s[1] s 1 int b = Integer.parseInt(s[2]); b Integer.parseInt(s[2]) Integer.parseInt Integer s[2] s 2 if ("?".equals(op)) {
				return;
			} "?".equals(op) "?".equals "?" op {
				return;
			} return; if ("+".equals(op)) {
				System.out.println(a + b);
			} else if ("*".equals(op)) {
				System.out.println(a * b);
			} else if ("/".equals(op)) {
				System.out.println(a / b);
			} else if ("-".equals(op)) {
				System.out.println(a - b);
			} "+".equals(op) "+".equals "+" op {
				System.out.println(a + b);
			} System.out.println(a + b) System.out.println System.out System System.out a + b a b if ("*".equals(op)) {
				System.out.println(a * b);
			} else if ("/".equals(op)) {
				System.out.println(a / b);
			} else if ("-".equals(op)) {
				System.out.println(a - b);
			} "*".equals(op) "*".equals "*" op {
				System.out.println(a * b);
			} System.out.println(a * b) System.out.println System.out System System.out a * b a b if ("/".equals(op)) {
				System.out.println(a / b);
			} else if ("-".equals(op)) {
				System.out.println(a - b);
			} "/".equals(op) "/".equals "/" op {
				System.out.println(a / b);
			} System.out.println(a / b) System.out.println System.out System System.out a / b a b if ("-".equals(op)) {
				System.out.println(a - b);
			} "-".equals(op) "-".equals "-" op {
				System.out.println(a - b);
			} System.out.println(a - b) System.out.println System.out System System.out a - b a b String[] args args public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		while (sc.hasNext()) {
			String[] s = sc.nextLine().split(" ");
			int a = Integer.parseInt(s[0]);
			String op = s[1];
			int b = Integer.parseInt(s[2]);
			if ("?".equals(op)) {
				return;
			}
			if ("+".equals(op)) {
				System.out.println(a + b);
			} else if ("*".equals(op)) {
				System.out.println(a * b);
			} else if ("/".equals(op)) {
				System.out.println(a / b);
			} else if ("-".equals(op)) {
				System.out.println(a - b);
			}
		}
	}
} public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		while (sc.hasNext()) {
			String[] s = sc.nextLine().split(" ");
			int a = Integer.parseInt(s[0]);
			String op = s[1];
			int b = Integer.parseInt(s[2]);
			if ("?".equals(op)) {
				return;
			}
			if ("+".equals(op)) {
				System.out.println(a + b);
			} else if ("*".equals(op)) {
				System.out.println(a * b);
			} else if ("/".equals(op)) {
				System.out.println(a / b);
			} else if ("-".equals(op)) {
				System.out.println(a - b);
			}
		}
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		while (sc.hasNext()) {
			String[] s = sc.nextLine().split(" ");
			int a = Integer.parseInt(s[0]);
			String op = s[1];
			int b = Integer.parseInt(s[2]);
			if ("?".equals(op)) {
				return;
			}
			if ("+".equals(op)) {
				System.out.println(a + b);
			} else if ("*".equals(op)) {
				System.out.println(a * b);
			} else if ("/".equals(op)) {
				System.out.println(a / b);
			} else if ("-".equals(op)) {
				System.out.println(a - b);
			}
		}
	}
}