import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Main {

	public static void main(String[] args) throws Exception {
		BufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in));
		String s;
		int inCnt = 0;
		while ((s = stdIn.readLine()) != null) {
			String[] se = s.split(" ");
			if (se[1].equals("?"))
				break;
			int a = Integer.valueOf(se[0]);
			int b = Integer.valueOf(se[2]);
			doMain(++inCnt, a, se[1], b);
		}
		System.exit(0);
	}

	private static void doMain(int inCnt, int a, String op, int b) {
		int r = 0;
		switch (op) {
		case ("+"):
			r=a+b;
			break;
		case ("-"):r=a-b;
			break;
		case ("*"):r=a*b;
			break;
		case ("/"):r=a/b;
			break;
		}
		System.out.printf("%d\n", r);

	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {

	public static void main(String[] args) throws Exception {
		BufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in));
		String s;
		int inCnt = 0;
		while ((s = stdIn.readLine()) != null) {
			String[] se = s.split(" ");
			if (se[1].equals("?"))
				break;
			int a = Integer.valueOf(se[0]);
			int b = Integer.valueOf(se[2]);
			doMain(++inCnt, a, se[1], b);
		}
		System.exit(0);
	}

	private static void doMain(int inCnt, int a, String op, int b) {
		int r = 0;
		switch (op) {
		case ("+"):
			r=a+b;
			break;
		case ("-"):r=a-b;
			break;
		case ("*"):r=a*b;
			break;
		case ("/"):r=a/b;
			break;
		}
		System.out.printf("%d\n", r);

	}
} Main public static void main(String[] args) throws Exception {
		BufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in));
		String s;
		int inCnt = 0;
		while ((s = stdIn.readLine()) != null) {
			String[] se = s.split(" ");
			if (se[1].equals("?"))
				break;
			int a = Integer.valueOf(se[0]);
			int b = Integer.valueOf(se[2]);
			doMain(++inCnt, a, se[1], b);
		}
		System.exit(0);
	} main {
		BufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in));
		String s;
		int inCnt = 0;
		while ((s = stdIn.readLine()) != null) {
			String[] se = s.split(" ");
			if (se[1].equals("?"))
				break;
			int a = Integer.valueOf(se[0]);
			int b = Integer.valueOf(se[2]);
			doMain(++inCnt, a, se[1], b);
		}
		System.exit(0);
	} BufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in)); stdIn new BufferedReader(new InputStreamReader(System.in)) String s; s int inCnt = 0; inCnt 0 while ((s = stdIn.readLine()) != null) {
			String[] se = s.split(" ");
			if (se[1].equals("?"))
				break;
			int a = Integer.valueOf(se[0]);
			int b = Integer.valueOf(se[2]);
			doMain(++inCnt, a, se[1], b);
		} (s = stdIn.readLine()) != null (s = stdIn.readLine()) s stdIn.readLine() stdIn.readLine stdIn null {
			String[] se = s.split(" ");
			if (se[1].equals("?"))
				break;
			int a = Integer.valueOf(se[0]);
			int b = Integer.valueOf(se[2]);
			doMain(++inCnt, a, se[1], b);
		} String[] se = s.split(" "); se s.split(" ") s.split s " " if (se[1].equals("?"))
				break; se[1].equals("?") se[1].equals se[1] se 1 "?" break; int a = Integer.valueOf(se[0]); a Integer.valueOf(se[0]) Integer.valueOf Integer se[0] se 0 int b = Integer.valueOf(se[2]); b Integer.valueOf(se[2]) Integer.valueOf Integer se[2] se 2 doMain(++inCnt, a, se[1], b) doMain ++inCnt inCnt a se[1] se 1 b System.exit(0) System.exit System 0 String[] args args private static void doMain(int inCnt, int a, String op, int b) {
		int r = 0;
		switch (op) {
		case ("+"):
			r=a+b;
			break;
		case ("-"):r=a-b;
			break;
		case ("*"):r=a*b;
			break;
		case ("/"):r=a/b;
			break;
		}
		System.out.printf("%d\n", r);

	} doMain {
		int r = 0;
		switch (op) {
		case ("+"):
			r=a+b;
			break;
		case ("-"):r=a-b;
			break;
		case ("*"):r=a*b;
			break;
		case ("/"):r=a/b;
			break;
		}
		System.out.printf("%d\n", r);

	} int r = 0; r 0 switch (op) {
		case ("+"):
			r=a+b;
			break;
		case ("-"):r=a-b;
			break;
		case ("*"):r=a*b;
			break;
		case ("/"):r=a/b;
			break;
		} op case ("+"): ("+") case ("+"): r=a+b r a+b a b break; case ("-"): ("-") case ("-"): r=a-b r a-b a b break; case ("*"): ("*") case ("*"): r=a*b r a*b a b break; case ("/"): ("/") case ("/"): r=a/b r a/b a b break; System.out.printf("%d\n", r) System.out.printf System.out System System.out "%d\n" r int inCnt inCnt int a a String op op int b b public class Main {

	public static void main(String[] args) throws Exception {
		BufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in));
		String s;
		int inCnt = 0;
		while ((s = stdIn.readLine()) != null) {
			String[] se = s.split(" ");
			if (se[1].equals("?"))
				break;
			int a = Integer.valueOf(se[0]);
			int b = Integer.valueOf(se[2]);
			doMain(++inCnt, a, se[1], b);
		}
		System.exit(0);
	}

	private static void doMain(int inCnt, int a, String op, int b) {
		int r = 0;
		switch (op) {
		case ("+"):
			r=a+b;
			break;
		case ("-"):r=a-b;
			break;
		case ("*"):r=a*b;
			break;
		case ("/"):r=a/b;
			break;
		}
		System.out.printf("%d\n", r);

	}
} public class Main {

	public static void main(String[] args) throws Exception {
		BufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in));
		String s;
		int inCnt = 0;
		while ((s = stdIn.readLine()) != null) {
			String[] se = s.split(" ");
			if (se[1].equals("?"))
				break;
			int a = Integer.valueOf(se[0]);
			int b = Integer.valueOf(se[2]);
			doMain(++inCnt, a, se[1], b);
		}
		System.exit(0);
	}

	private static void doMain(int inCnt, int a, String op, int b) {
		int r = 0;
		switch (op) {
		case ("+"):
			r=a+b;
			break;
		case ("-"):r=a-b;
			break;
		case ("*"):r=a*b;
			break;
		case ("/"):r=a/b;
			break;
		}
		System.out.printf("%d\n", r);

	}
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Main {

	public static void main(String[] args) throws Exception {
		BufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in));
		String s;
		int inCnt = 0;
		while ((s = stdIn.readLine()) != null) {
			String[] se = s.split(" ");
			if (se[1].equals("?"))
				break;
			int a = Integer.valueOf(se[0]);
			int b = Integer.valueOf(se[2]);
			doMain(++inCnt, a, se[1], b);
		}
		System.exit(0);
	}

	private static void doMain(int inCnt, int a, String op, int b) {
		int r = 0;
		switch (op) {
		case ("+"):
			r=a+b;
			break;
		case ("-"):r=a-b;
			break;
		case ("*"):r=a*b;
			break;
		case ("/"):r=a/b;
			break;
		}
		System.out.printf("%d\n", r);

	}
}