public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		java.util.Scanner sc = new java.util.Scanner(System.in);
		StringBuilder sb = new StringBuilder();

		while (true) {
			String[] data = sc.nextLine().split(" ");

			int a = Integer.parseInt(data[0]);
			String op = data[1];
			int b = Integer.parseInt(data[2]);

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

			switch (op) {
			case "+":
				sb.append( (a+b) + "\n" );
				break;
			case "-":
				sb.append( (a-b) + "\n" );
				break;
			case "*":
				sb.append( (a*b) + "\n" );
				break;
			case "/":
				sb.append( (a/b) + "\n" );
				break;
			}
		}

		System.out.print(sb);
	}

} public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		java.util.Scanner sc = new java.util.Scanner(System.in);
		StringBuilder sb = new StringBuilder();

		while (true) {
			String[] data = sc.nextLine().split(" ");

			int a = Integer.parseInt(data[0]);
			String op = data[1];
			int b = Integer.parseInt(data[2]);

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

			switch (op) {
			case "+":
				sb.append( (a+b) + "\n" );
				break;
			case "-":
				sb.append( (a-b) + "\n" );
				break;
			case "*":
				sb.append( (a*b) + "\n" );
				break;
			case "/":
				sb.append( (a/b) + "\n" );
				break;
			}
		}

		System.out.print(sb);
	}

} Main public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		java.util.Scanner sc = new java.util.Scanner(System.in);
		StringBuilder sb = new StringBuilder();

		while (true) {
			String[] data = sc.nextLine().split(" ");

			int a = Integer.parseInt(data[0]);
			String op = data[1];
			int b = Integer.parseInt(data[2]);

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

			switch (op) {
			case "+":
				sb.append( (a+b) + "\n" );
				break;
			case "-":
				sb.append( (a-b) + "\n" );
				break;
			case "*":
				sb.append( (a*b) + "\n" );
				break;
			case "/":
				sb.append( (a/b) + "\n" );
				break;
			}
		}

		System.out.print(sb);
	} main {
		// TODO ?????????????????????????????????????????????
		java.util.Scanner sc = new java.util.Scanner(System.in);
		StringBuilder sb = new StringBuilder();

		while (true) {
			String[] data = sc.nextLine().split(" ");

			int a = Integer.parseInt(data[0]);
			String op = data[1];
			int b = Integer.parseInt(data[2]);

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

			switch (op) {
			case "+":
				sb.append( (a+b) + "\n" );
				break;
			case "-":
				sb.append( (a-b) + "\n" );
				break;
			case "*":
				sb.append( (a*b) + "\n" );
				break;
			case "/":
				sb.append( (a/b) + "\n" );
				break;
			}
		}

		System.out.print(sb);
	} java.util.Scanner sc = new java.util.Scanner(System.in); sc new java.util.Scanner(System.in) StringBuilder sb = new StringBuilder(); sb new StringBuilder() while (true) {
			String[] data = sc.nextLine().split(" ");

			int a = Integer.parseInt(data[0]);
			String op = data[1];
			int b = Integer.parseInt(data[2]);

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

			switch (op) {
			case "+":
				sb.append( (a+b) + "\n" );
				break;
			case "-":
				sb.append( (a-b) + "\n" );
				break;
			case "*":
				sb.append( (a*b) + "\n" );
				break;
			case "/":
				sb.append( (a/b) + "\n" );
				break;
			}
		} true {
			String[] data = sc.nextLine().split(" ");

			int a = Integer.parseInt(data[0]);
			String op = data[1];
			int b = Integer.parseInt(data[2]);

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

			switch (op) {
			case "+":
				sb.append( (a+b) + "\n" );
				break;
			case "-":
				sb.append( (a-b) + "\n" );
				break;
			case "*":
				sb.append( (a*b) + "\n" );
				break;
			case "/":
				sb.append( (a/b) + "\n" );
				break;
			}
		} String[] data = sc.nextLine().split(" "); data sc.nextLine().split(" ") sc.nextLine().split sc.nextLine() sc.nextLine sc " " int a = Integer.parseInt(data[0]); a Integer.parseInt(data[0]) Integer.parseInt Integer data[0] data 0 String op = data[1]; op data[1] data 1 int b = Integer.parseInt(data[2]); b Integer.parseInt(data[2]) Integer.parseInt Integer data[2] data 2 if ( op.equals("?") ) break; op.equals("?") op.equals op "?" break; switch (op) {
			case "+":
				sb.append( (a+b) + "\n" );
				break;
			case "-":
				sb.append( (a-b) + "\n" );
				break;
			case "*":
				sb.append( (a*b) + "\n" );
				break;
			case "/":
				sb.append( (a/b) + "\n" );
				break;
			} op case "+": "+" case "+": sb.append( (a+b) + "\n" ) sb.append sb (a+b) + "\n" (a+b) a b "\n" break; case "-": "-" case "-": sb.append( (a-b) + "\n" ) sb.append sb (a-b) + "\n" (a-b) a b "\n" break; case "*": "*" case "*": sb.append( (a*b) + "\n" ) sb.append sb (a*b) + "\n" (a*b) a b "\n" break; case "/": "/" case "/": sb.append( (a/b) + "\n" ) sb.append sb (a/b) + "\n" (a/b) a b "\n" break; 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) {
		// TODO ?????????????????????????????????????????????
		java.util.Scanner sc = new java.util.Scanner(System.in);
		StringBuilder sb = new StringBuilder();

		while (true) {
			String[] data = sc.nextLine().split(" ");

			int a = Integer.parseInt(data[0]);
			String op = data[1];
			int b = Integer.parseInt(data[2]);

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

			switch (op) {
			case "+":
				sb.append( (a+b) + "\n" );
				break;
			case "-":
				sb.append( (a-b) + "\n" );
				break;
			case "*":
				sb.append( (a*b) + "\n" );
				break;
			case "/":
				sb.append( (a/b) + "\n" );
				break;
			}
		}

		System.out.print(sb);
	}

} public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		java.util.Scanner sc = new java.util.Scanner(System.in);
		StringBuilder sb = new StringBuilder();

		while (true) {
			String[] data = sc.nextLine().split(" ");

			int a = Integer.parseInt(data[0]);
			String op = data[1];
			int b = Integer.parseInt(data[2]);

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

			switch (op) {
			case "+":
				sb.append( (a+b) + "\n" );
				break;
			case "-":
				sb.append( (a-b) + "\n" );
				break;
			case "*":
				sb.append( (a*b) + "\n" );
				break;
			case "/":
				sb.append( (a/b) + "\n" );
				break;
			}
		}

		System.out.print(sb);
	}

} Main
public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		java.util.Scanner sc = new java.util.Scanner(System.in);
		StringBuilder sb = new StringBuilder();

		while (true) {
			String[] data = sc.nextLine().split(" ");

			int a = Integer.parseInt(data[0]);
			String op = data[1];
			int b = Integer.parseInt(data[2]);

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

			switch (op) {
			case "+":
				sb.append( (a+b) + "\n" );
				break;
			case "-":
				sb.append( (a-b) + "\n" );
				break;
			case "*":
				sb.append( (a*b) + "\n" );
				break;
			case "/":
				sb.append( (a/b) + "\n" );
				break;
			}
		}

		System.out.print(sb);
	}

}