import java.io.*;
import java.util.*;

public class Main {
	public static void main(String[] args) throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		while (true) {
			String[] strArray = br.readLine().split(" ");
			if (strArray[1].equals("?")) {
				break;
			}
			long a = Long.parseLong(strArray[0]);
			long b = Long.parseLong(strArray[2]);
			String op = strArray[1];
			switch (op) {
				case "+":
				System.out.println(a + b);
				break;
				case "-":
				System.out.println(a - b);
				break;
				case "*":
				System.out.println(a * b);
				break;
				case "/":
				System.out.println(a / b);
				break;
			}
		}
	}
} import java.io.*; io.* java import java.util.*; util.* java public class Main {
	public static void main(String[] args) throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		while (true) {
			String[] strArray = br.readLine().split(" ");
			if (strArray[1].equals("?")) {
				break;
			}
			long a = Long.parseLong(strArray[0]);
			long b = Long.parseLong(strArray[2]);
			String op = strArray[1];
			switch (op) {
				case "+":
				System.out.println(a + b);
				break;
				case "-":
				System.out.println(a - b);
				break;
				case "*":
				System.out.println(a * b);
				break;
				case "/":
				System.out.println(a / b);
				break;
			}
		}
	}
} Main public static void main(String[] args) throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		while (true) {
			String[] strArray = br.readLine().split(" ");
			if (strArray[1].equals("?")) {
				break;
			}
			long a = Long.parseLong(strArray[0]);
			long b = Long.parseLong(strArray[2]);
			String op = strArray[1];
			switch (op) {
				case "+":
				System.out.println(a + b);
				break;
				case "-":
				System.out.println(a - b);
				break;
				case "*":
				System.out.println(a * b);
				break;
				case "/":
				System.out.println(a / b);
				break;
			}
		}
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		while (true) {
			String[] strArray = br.readLine().split(" ");
			if (strArray[1].equals("?")) {
				break;
			}
			long a = Long.parseLong(strArray[0]);
			long b = Long.parseLong(strArray[2]);
			String op = strArray[1];
			switch (op) {
				case "+":
				System.out.println(a + b);
				break;
				case "-":
				System.out.println(a - b);
				break;
				case "*":
				System.out.println(a * b);
				break;
				case "/":
				System.out.println(a / b);
				break;
			}
		}
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) while (true) {
			String[] strArray = br.readLine().split(" ");
			if (strArray[1].equals("?")) {
				break;
			}
			long a = Long.parseLong(strArray[0]);
			long b = Long.parseLong(strArray[2]);
			String op = strArray[1];
			switch (op) {
				case "+":
				System.out.println(a + b);
				break;
				case "-":
				System.out.println(a - b);
				break;
				case "*":
				System.out.println(a * b);
				break;
				case "/":
				System.out.println(a / b);
				break;
			}
		} true {
			String[] strArray = br.readLine().split(" ");
			if (strArray[1].equals("?")) {
				break;
			}
			long a = Long.parseLong(strArray[0]);
			long b = Long.parseLong(strArray[2]);
			String op = strArray[1];
			switch (op) {
				case "+":
				System.out.println(a + b);
				break;
				case "-":
				System.out.println(a - b);
				break;
				case "*":
				System.out.println(a * b);
				break;
				case "/":
				System.out.println(a / b);
				break;
			}
		} String[] strArray = br.readLine().split(" "); strArray br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " if (strArray[1].equals("?")) {
				break;
			} strArray[1].equals("?") strArray[1].equals strArray[1] strArray 1 "?" {
				break;
			} break; long a = Long.parseLong(strArray[0]); a Long.parseLong(strArray[0]) Long.parseLong Long strArray[0] strArray 0 long b = Long.parseLong(strArray[2]); b Long.parseLong(strArray[2]) Long.parseLong Long strArray[2] strArray 2 String op = strArray[1]; op strArray[1] strArray 1 switch (op) {
				case "+":
				System.out.println(a + b);
				break;
				case "-":
				System.out.println(a - b);
				break;
				case "*":
				System.out.println(a * b);
				break;
				case "/":
				System.out.println(a / b);
				break;
			} op case "+": "+" case "+": System.out.println(a + b) System.out.println System.out System System.out a + b a b break; case "-": "-" case "-": System.out.println(a - b) System.out.println System.out System System.out a - b a b break; case "*": "*" case "*": System.out.println(a * b) System.out.println System.out System System.out a * b a b break; case "/": "/" case "/": System.out.println(a / b) System.out.println System.out System System.out a / b a b break; String[] args args public class Main {
	public static void main(String[] args) throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		while (true) {
			String[] strArray = br.readLine().split(" ");
			if (strArray[1].equals("?")) {
				break;
			}
			long a = Long.parseLong(strArray[0]);
			long b = Long.parseLong(strArray[2]);
			String op = strArray[1];
			switch (op) {
				case "+":
				System.out.println(a + b);
				break;
				case "-":
				System.out.println(a - b);
				break;
				case "*":
				System.out.println(a * b);
				break;
				case "/":
				System.out.println(a / b);
				break;
			}
		}
	}
} public class Main {
	public static void main(String[] args) throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		while (true) {
			String[] strArray = br.readLine().split(" ");
			if (strArray[1].equals("?")) {
				break;
			}
			long a = Long.parseLong(strArray[0]);
			long b = Long.parseLong(strArray[2]);
			String op = strArray[1];
			switch (op) {
				case "+":
				System.out.println(a + b);
				break;
				case "-":
				System.out.println(a - b);
				break;
				case "*":
				System.out.println(a * b);
				break;
				case "/":
				System.out.println(a / b);
				break;
			}
		}
	}
} Main
import java.io.*;
import java.util.*;

public class Main {
	public static void main(String[] args) throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		while (true) {
			String[] strArray = br.readLine().split(" ");
			if (strArray[1].equals("?")) {
				break;
			}
			long a = Long.parseLong(strArray[0]);
			long b = Long.parseLong(strArray[2]);
			String op = strArray[1];
			switch (op) {
				case "+":
				System.out.println(a + b);
				break;
				case "-":
				System.out.println(a - b);
				break;
				case "*":
				System.out.println(a * b);
				break;
				case "/":
				System.out.println(a / b);
				break;
			}
		}
	}
}