import java.util.Scanner;

public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);

		while(true) {
			int num1 = sc.nextInt();
			String ope = sc.next();
			int num2 = sc.nextInt();

			if(ope.equals("?")) break;

			int ans = 0;
			switch(ope) {
				case "+":
					ans = num1 + num2;
					break;
				case "-":
					ans = num1 - num2;
					break;
				case "/":
					ans = num1 / num2;
					break;
				case "*":
					ans = num1 * num2;
					break;
			}
			System.out.println(ans);
		}

		sc.close();

	}

} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);

		while(true) {
			int num1 = sc.nextInt();
			String ope = sc.next();
			int num2 = sc.nextInt();

			if(ope.equals("?")) break;

			int ans = 0;
			switch(ope) {
				case "+":
					ans = num1 + num2;
					break;
				case "-":
					ans = num1 - num2;
					break;
				case "/":
					ans = num1 / num2;
					break;
				case "*":
					ans = num1 * num2;
					break;
			}
			System.out.println(ans);
		}

		sc.close();

	}

} Main public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);

		while(true) {
			int num1 = sc.nextInt();
			String ope = sc.next();
			int num2 = sc.nextInt();

			if(ope.equals("?")) break;

			int ans = 0;
			switch(ope) {
				case "+":
					ans = num1 + num2;
					break;
				case "-":
					ans = num1 - num2;
					break;
				case "/":
					ans = num1 / num2;
					break;
				case "*":
					ans = num1 * num2;
					break;
			}
			System.out.println(ans);
		}

		sc.close();

	} main {

		Scanner sc = new Scanner(System.in);

		while(true) {
			int num1 = sc.nextInt();
			String ope = sc.next();
			int num2 = sc.nextInt();

			if(ope.equals("?")) break;

			int ans = 0;
			switch(ope) {
				case "+":
					ans = num1 + num2;
					break;
				case "-":
					ans = num1 - num2;
					break;
				case "/":
					ans = num1 / num2;
					break;
				case "*":
					ans = num1 * num2;
					break;
			}
			System.out.println(ans);
		}

		sc.close();

	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) while(true) {
			int num1 = sc.nextInt();
			String ope = sc.next();
			int num2 = sc.nextInt();

			if(ope.equals("?")) break;

			int ans = 0;
			switch(ope) {
				case "+":
					ans = num1 + num2;
					break;
				case "-":
					ans = num1 - num2;
					break;
				case "/":
					ans = num1 / num2;
					break;
				case "*":
					ans = num1 * num2;
					break;
			}
			System.out.println(ans);
		} true {
			int num1 = sc.nextInt();
			String ope = sc.next();
			int num2 = sc.nextInt();

			if(ope.equals("?")) break;

			int ans = 0;
			switch(ope) {
				case "+":
					ans = num1 + num2;
					break;
				case "-":
					ans = num1 - num2;
					break;
				case "/":
					ans = num1 / num2;
					break;
				case "*":
					ans = num1 * num2;
					break;
			}
			System.out.println(ans);
		} int num1 = sc.nextInt(); num1 sc.nextInt() sc.nextInt sc String ope = sc.next(); ope sc.next() sc.next sc int num2 = sc.nextInt(); num2 sc.nextInt() sc.nextInt sc if(ope.equals("?")) break; ope.equals("?") ope.equals ope "?" break; int ans = 0; ans 0 switch(ope) {
				case "+":
					ans = num1 + num2;
					break;
				case "-":
					ans = num1 - num2;
					break;
				case "/":
					ans = num1 / num2;
					break;
				case "*":
					ans = num1 * num2;
					break;
			} ope case "+": "+" case "+": ans = num1 + num2 ans num1 + num2 num1 num2 break; case "-": "-" case "-": ans = num1 - num2 ans num1 - num2 num1 num2 break; case "/": "/" case "/": ans = num1 / num2 ans num1 / num2 num1 num2 break; case "*": "*" case "*": ans = num1 * num2 ans num1 * num2 num1 num2 break; System.out.println(ans) System.out.println System.out System System.out ans sc.close() sc.close sc String[] args args public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);

		while(true) {
			int num1 = sc.nextInt();
			String ope = sc.next();
			int num2 = sc.nextInt();

			if(ope.equals("?")) break;

			int ans = 0;
			switch(ope) {
				case "+":
					ans = num1 + num2;
					break;
				case "-":
					ans = num1 - num2;
					break;
				case "/":
					ans = num1 / num2;
					break;
				case "*":
					ans = num1 * num2;
					break;
			}
			System.out.println(ans);
		}

		sc.close();

	}

} public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);

		while(true) {
			int num1 = sc.nextInt();
			String ope = sc.next();
			int num2 = sc.nextInt();

			if(ope.equals("?")) break;

			int ans = 0;
			switch(ope) {
				case "+":
					ans = num1 + num2;
					break;
				case "-":
					ans = num1 - num2;
					break;
				case "/":
					ans = num1 / num2;
					break;
				case "*":
					ans = num1 * num2;
					break;
			}
			System.out.println(ans);
		}

		sc.close();

	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);

		while(true) {
			int num1 = sc.nextInt();
			String ope = sc.next();
			int num2 = sc.nextInt();

			if(ope.equals("?")) break;

			int ans = 0;
			switch(ope) {
				case "+":
					ans = num1 + num2;
					break;
				case "-":
					ans = num1 - num2;
					break;
				case "/":
					ans = num1 / num2;
					break;
				case "*":
					ans = num1 * num2;
					break;
			}
			System.out.println(ans);
		}

		sc.close();

	}

}
