import java.util.ArrayList;
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {

		Scanner scanner = new Scanner(System.in);

		boolean flg = true;
		ArrayList<Integer> list = new ArrayList<Integer>();

		int ans = 0;

		while (flg) {
			scanner.hasNext();

			int a = scanner.nextInt();
			String op = scanner.next();
			int b = scanner.nextInt();

			if ("?".equals(op)) {
				flg = false;
				break;
			}else if("+".equals(op)){
				ans = a + b;
			}else if("-".equals(op)){
				ans = a - b;
			}else if("/".equals(op)){
				ans = a / b;
			}else if("*".equals(op)){
				ans = a * b;
			}

			list.add(ans);
		}

		for (int ttt : list) {
			System.out.println(ttt);
		}

	}
} import java.util.ArrayList; ArrayList java.util import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {

		Scanner scanner = new Scanner(System.in);

		boolean flg = true;
		ArrayList<Integer> list = new ArrayList<Integer>();

		int ans = 0;

		while (flg) {
			scanner.hasNext();

			int a = scanner.nextInt();
			String op = scanner.next();
			int b = scanner.nextInt();

			if ("?".equals(op)) {
				flg = false;
				break;
			}else if("+".equals(op)){
				ans = a + b;
			}else if("-".equals(op)){
				ans = a - b;
			}else if("/".equals(op)){
				ans = a / b;
			}else if("*".equals(op)){
				ans = a * b;
			}

			list.add(ans);
		}

		for (int ttt : list) {
			System.out.println(ttt);
		}

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

		Scanner scanner = new Scanner(System.in);

		boolean flg = true;
		ArrayList<Integer> list = new ArrayList<Integer>();

		int ans = 0;

		while (flg) {
			scanner.hasNext();

			int a = scanner.nextInt();
			String op = scanner.next();
			int b = scanner.nextInt();

			if ("?".equals(op)) {
				flg = false;
				break;
			}else if("+".equals(op)){
				ans = a + b;
			}else if("-".equals(op)){
				ans = a - b;
			}else if("/".equals(op)){
				ans = a / b;
			}else if("*".equals(op)){
				ans = a * b;
			}

			list.add(ans);
		}

		for (int ttt : list) {
			System.out.println(ttt);
		}

	} main {

		Scanner scanner = new Scanner(System.in);

		boolean flg = true;
		ArrayList<Integer> list = new ArrayList<Integer>();

		int ans = 0;

		while (flg) {
			scanner.hasNext();

			int a = scanner.nextInt();
			String op = scanner.next();
			int b = scanner.nextInt();

			if ("?".equals(op)) {
				flg = false;
				break;
			}else if("+".equals(op)){
				ans = a + b;
			}else if("-".equals(op)){
				ans = a - b;
			}else if("/".equals(op)){
				ans = a / b;
			}else if("*".equals(op)){
				ans = a * b;
			}

			list.add(ans);
		}

		for (int ttt : list) {
			System.out.println(ttt);
		}

	} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) boolean flg = true; flg true ArrayList<Integer> list = new ArrayList<Integer>(); list new ArrayList<Integer>() int ans = 0; ans 0 while (flg) {
			scanner.hasNext();

			int a = scanner.nextInt();
			String op = scanner.next();
			int b = scanner.nextInt();

			if ("?".equals(op)) {
				flg = false;
				break;
			}else if("+".equals(op)){
				ans = a + b;
			}else if("-".equals(op)){
				ans = a - b;
			}else if("/".equals(op)){
				ans = a / b;
			}else if("*".equals(op)){
				ans = a * b;
			}

			list.add(ans);
		} flg {
			scanner.hasNext();

			int a = scanner.nextInt();
			String op = scanner.next();
			int b = scanner.nextInt();

			if ("?".equals(op)) {
				flg = false;
				break;
			}else if("+".equals(op)){
				ans = a + b;
			}else if("-".equals(op)){
				ans = a - b;
			}else if("/".equals(op)){
				ans = a / b;
			}else if("*".equals(op)){
				ans = a * b;
			}

			list.add(ans);
		} scanner.hasNext() scanner.hasNext scanner int a = scanner.nextInt(); a scanner.nextInt() scanner.nextInt scanner String op = scanner.next(); op scanner.next() scanner.next scanner int b = scanner.nextInt(); b scanner.nextInt() scanner.nextInt scanner if ("?".equals(op)) {
				flg = false;
				break;
			}else if("+".equals(op)){
				ans = a + b;
			}else if("-".equals(op)){
				ans = a - b;
			}else if("/".equals(op)){
				ans = a / b;
			}else if("*".equals(op)){
				ans = a * b;
			} "?".equals(op) "?".equals "?" op {
				flg = false;
				break;
			} flg = false flg false break; if("+".equals(op)){
				ans = a + b;
			}else if("-".equals(op)){
				ans = a - b;
			}else if("/".equals(op)){
				ans = a / b;
			}else if("*".equals(op)){
				ans = a * b;
			} "+".equals(op) "+".equals "+" op {
				ans = a + b;
			} ans = a + b ans a + b a b if("-".equals(op)){
				ans = a - b;
			}else if("/".equals(op)){
				ans = a / b;
			}else if("*".equals(op)){
				ans = a * b;
			} "-".equals(op) "-".equals "-" op {
				ans = a - b;
			} ans = a - b ans a - b a b if("/".equals(op)){
				ans = a / b;
			}else if("*".equals(op)){
				ans = a * b;
			} "/".equals(op) "/".equals "/" op {
				ans = a / b;
			} ans = a / b ans a / b a b if("*".equals(op)){
				ans = a * b;
			} "*".equals(op) "*".equals "*" op {
				ans = a * b;
			} ans = a * b ans a * b a b list.add(ans) list.add list ans for (int ttt : list) {
			System.out.println(ttt);
		} int ttt list {
			System.out.println(ttt);
		} {
			System.out.println(ttt);
		} System.out.println(ttt) System.out.println System.out System System.out ttt String[] args args public class Main {
	public static void main(String[] args) {

		Scanner scanner = new Scanner(System.in);

		boolean flg = true;
		ArrayList<Integer> list = new ArrayList<Integer>();

		int ans = 0;

		while (flg) {
			scanner.hasNext();

			int a = scanner.nextInt();
			String op = scanner.next();
			int b = scanner.nextInt();

			if ("?".equals(op)) {
				flg = false;
				break;
			}else if("+".equals(op)){
				ans = a + b;
			}else if("-".equals(op)){
				ans = a - b;
			}else if("/".equals(op)){
				ans = a / b;
			}else if("*".equals(op)){
				ans = a * b;
			}

			list.add(ans);
		}

		for (int ttt : list) {
			System.out.println(ttt);
		}

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

		Scanner scanner = new Scanner(System.in);

		boolean flg = true;
		ArrayList<Integer> list = new ArrayList<Integer>();

		int ans = 0;

		while (flg) {
			scanner.hasNext();

			int a = scanner.nextInt();
			String op = scanner.next();
			int b = scanner.nextInt();

			if ("?".equals(op)) {
				flg = false;
				break;
			}else if("+".equals(op)){
				ans = a + b;
			}else if("-".equals(op)){
				ans = a - b;
			}else if("/".equals(op)){
				ans = a / b;
			}else if("*".equals(op)){
				ans = a * b;
			}

			list.add(ans);
		}

		for (int ttt : list) {
			System.out.println(ttt);
		}

	}
} Main
import java.util.ArrayList;
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {

		Scanner scanner = new Scanner(System.in);

		boolean flg = true;
		ArrayList<Integer> list = new ArrayList<Integer>();

		int ans = 0;

		while (flg) {
			scanner.hasNext();

			int a = scanner.nextInt();
			String op = scanner.next();
			int b = scanner.nextInt();

			if ("?".equals(op)) {
				flg = false;
				break;
			}else if("+".equals(op)){
				ans = a + b;
			}else if("-".equals(op)){
				ans = a - b;
			}else if("/".equals(op)){
				ans = a / b;
			}else if("*".equals(op)){
				ans = a * b;
			}

			list.add(ans);
		}

		for (int ttt : list) {
			System.out.println(ttt);
		}

	}
}