import java.io.IOException;
import java.util.Scanner;

class Main {

	public static void main(String[] args) throws IOException {

		Scanner scane = new Scanner(System.in);

		boolean judge =true;

		while (judge) {
			int a = scane.nextInt();
			String str = scane.next();
			int b = scane.nextInt();
		switch (str) {
		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((int)(a/b));
			break;
		case "?":
			judge = false;
			break;

		}
		}


	}
} import java.io.IOException; IOException java.io import java.util.Scanner; Scanner java.util class Main {

	public static void main(String[] args) throws IOException {

		Scanner scane = new Scanner(System.in);

		boolean judge =true;

		while (judge) {
			int a = scane.nextInt();
			String str = scane.next();
			int b = scane.nextInt();
		switch (str) {
		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((int)(a/b));
			break;
		case "?":
			judge = false;
			break;

		}
		}


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

		Scanner scane = new Scanner(System.in);

		boolean judge =true;

		while (judge) {
			int a = scane.nextInt();
			String str = scane.next();
			int b = scane.nextInt();
		switch (str) {
		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((int)(a/b));
			break;
		case "?":
			judge = false;
			break;

		}
		}


	} main {

		Scanner scane = new Scanner(System.in);

		boolean judge =true;

		while (judge) {
			int a = scane.nextInt();
			String str = scane.next();
			int b = scane.nextInt();
		switch (str) {
		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((int)(a/b));
			break;
		case "?":
			judge = false;
			break;

		}
		}


	} Scanner scane = new Scanner(System.in); scane new Scanner(System.in) boolean judge =true; judge true while (judge) {
			int a = scane.nextInt();
			String str = scane.next();
			int b = scane.nextInt();
		switch (str) {
		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((int)(a/b));
			break;
		case "?":
			judge = false;
			break;

		}
		} judge {
			int a = scane.nextInt();
			String str = scane.next();
			int b = scane.nextInt();
		switch (str) {
		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((int)(a/b));
			break;
		case "?":
			judge = false;
			break;

		}
		} int a = scane.nextInt(); a scane.nextInt() scane.nextInt scane String str = scane.next(); str scane.next() scane.next scane int b = scane.nextInt(); b scane.nextInt() scane.nextInt scane switch (str) {
		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((int)(a/b));
			break;
		case "?":
			judge = false;
			break;

		} str 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((int)(a/b)) System.out.println System.out System System.out (int)(a/b) a b break; case "?": "?" case "?": judge = false judge false break; String[] args args
import java.io.IOException;
import java.util.Scanner;

class Main {

	public static void main(String[] args) throws IOException {

		Scanner scane = new Scanner(System.in);

		boolean judge =true;

		while (judge) {
			int a = scane.nextInt();
			String str = scane.next();
			int b = scane.nextInt();
		switch (str) {
		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((int)(a/b));
			break;
		case "?":
			judge = false;
			break;

		}
		}


	}
}