public class Main {
	public static void main(String[] args) {
		java.util.Scanner sc = new java.util.Scanner(System.in);
		StringBuilder sb = new StringBuilder();
		int a;// = sc.nextInt();
		String op;// = sc.next();
		int b;// = sc.nextInt();

		do {
			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();
			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");}
		} while(true);
		System.out.print(sb);
	}
} public class Main {
	public static void main(String[] args) {
		java.util.Scanner sc = new java.util.Scanner(System.in);
		StringBuilder sb = new StringBuilder();
		int a;// = sc.nextInt();
		String op;// = sc.next();
		int b;// = sc.nextInt();

		do {
			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();
			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");}
		} while(true);
		System.out.print(sb);
	}
} Main public static void main(String[] args) {
		java.util.Scanner sc = new java.util.Scanner(System.in);
		StringBuilder sb = new StringBuilder();
		int a;// = sc.nextInt();
		String op;// = sc.next();
		int b;// = sc.nextInt();

		do {
			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();
			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");}
		} while(true);
		System.out.print(sb);
	} main {
		java.util.Scanner sc = new java.util.Scanner(System.in);
		StringBuilder sb = new StringBuilder();
		int a;// = sc.nextInt();
		String op;// = sc.next();
		int b;// = sc.nextInt();

		do {
			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();
			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");}
		} while(true);
		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() int a; a String op; op int b; b do {
			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();
			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");}
		} while(true); true {
			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();
			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");}
		} 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 if (op.equals("?")) {break;} op.equals("?") op.equals op "?" {break;} 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) {
		java.util.Scanner sc = new java.util.Scanner(System.in);
		StringBuilder sb = new StringBuilder();
		int a;// = sc.nextInt();
		String op;// = sc.next();
		int b;// = sc.nextInt();

		do {
			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();
			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");}
		} while(true);
		System.out.print(sb);
	}
} public class Main {
	public static void main(String[] args) {
		java.util.Scanner sc = new java.util.Scanner(System.in);
		StringBuilder sb = new StringBuilder();
		int a;// = sc.nextInt();
		String op;// = sc.next();
		int b;// = sc.nextInt();

		do {
			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();
			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");}
		} while(true);
		System.out.print(sb);
	}
} Main
public class Main {
	public static void main(String[] args) {
		java.util.Scanner sc = new java.util.Scanner(System.in);
		StringBuilder sb = new StringBuilder();
		int a;// = sc.nextInt();
		String op;// = sc.next();
		int b;// = sc.nextInt();

		do {
			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();
			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");}
		} while(true);
		System.out.print(sb);
	}
}