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

public class Main {

	public static void main(String[] args) {
		{
			Scanner stdin = new Scanner(System.in);
			List<Integer> result = new ArrayList<>();
			int i = 0, count = 0;
			while (true) {
				String[] input = stdin.nextLine().split(" ");
				int a = 0;
				int b = 0;
				char operation = 0;
				a = Integer.parseInt(input[0]);
			    operation = input[1].charAt(0);
			    b = Integer.parseInt(input[2]);
				if (operation == '?') {
					break;
				}
				switch (operation) {
				case '+':
					result.add(a + b);
					break;

				case '-':
					result.add(a - b);
					break;
				case '*':
					result.add(a * b);
					break;
				case '/':
					result.add(a / b);
					break;
				}
				count = i;
				i++;
			}
			for (int j = 0; j < result.size(); j++) {
				System.out.println(result.get(j));
			}
		}
	}
} import java.util.ArrayList; ArrayList java.util import java.util.List; List java.util import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		{
			Scanner stdin = new Scanner(System.in);
			List<Integer> result = new ArrayList<>();
			int i = 0, count = 0;
			while (true) {
				String[] input = stdin.nextLine().split(" ");
				int a = 0;
				int b = 0;
				char operation = 0;
				a = Integer.parseInt(input[0]);
			    operation = input[1].charAt(0);
			    b = Integer.parseInt(input[2]);
				if (operation == '?') {
					break;
				}
				switch (operation) {
				case '+':
					result.add(a + b);
					break;

				case '-':
					result.add(a - b);
					break;
				case '*':
					result.add(a * b);
					break;
				case '/':
					result.add(a / b);
					break;
				}
				count = i;
				i++;
			}
			for (int j = 0; j < result.size(); j++) {
				System.out.println(result.get(j));
			}
		}
	}
} Main public static void main(String[] args) {
		{
			Scanner stdin = new Scanner(System.in);
			List<Integer> result = new ArrayList<>();
			int i = 0, count = 0;
			while (true) {
				String[] input = stdin.nextLine().split(" ");
				int a = 0;
				int b = 0;
				char operation = 0;
				a = Integer.parseInt(input[0]);
			    operation = input[1].charAt(0);
			    b = Integer.parseInt(input[2]);
				if (operation == '?') {
					break;
				}
				switch (operation) {
				case '+':
					result.add(a + b);
					break;

				case '-':
					result.add(a - b);
					break;
				case '*':
					result.add(a * b);
					break;
				case '/':
					result.add(a / b);
					break;
				}
				count = i;
				i++;
			}
			for (int j = 0; j < result.size(); j++) {
				System.out.println(result.get(j));
			}
		}
	} main {
		{
			Scanner stdin = new Scanner(System.in);
			List<Integer> result = new ArrayList<>();
			int i = 0, count = 0;
			while (true) {
				String[] input = stdin.nextLine().split(" ");
				int a = 0;
				int b = 0;
				char operation = 0;
				a = Integer.parseInt(input[0]);
			    operation = input[1].charAt(0);
			    b = Integer.parseInt(input[2]);
				if (operation == '?') {
					break;
				}
				switch (operation) {
				case '+':
					result.add(a + b);
					break;

				case '-':
					result.add(a - b);
					break;
				case '*':
					result.add(a * b);
					break;
				case '/':
					result.add(a / b);
					break;
				}
				count = i;
				i++;
			}
			for (int j = 0; j < result.size(); j++) {
				System.out.println(result.get(j));
			}
		}
	} {
			Scanner stdin = new Scanner(System.in);
			List<Integer> result = new ArrayList<>();
			int i = 0, count = 0;
			while (true) {
				String[] input = stdin.nextLine().split(" ");
				int a = 0;
				int b = 0;
				char operation = 0;
				a = Integer.parseInt(input[0]);
			    operation = input[1].charAt(0);
			    b = Integer.parseInt(input[2]);
				if (operation == '?') {
					break;
				}
				switch (operation) {
				case '+':
					result.add(a + b);
					break;

				case '-':
					result.add(a - b);
					break;
				case '*':
					result.add(a * b);
					break;
				case '/':
					result.add(a / b);
					break;
				}
				count = i;
				i++;
			}
			for (int j = 0; j < result.size(); j++) {
				System.out.println(result.get(j));
			}
		} Scanner stdin = new Scanner(System.in); stdin new Scanner(System.in) List<Integer> result = new ArrayList<>(); result new ArrayList<>() int i = 0 i 0 count = 0; count 0 while (true) {
				String[] input = stdin.nextLine().split(" ");
				int a = 0;
				int b = 0;
				char operation = 0;
				a = Integer.parseInt(input[0]);
			    operation = input[1].charAt(0);
			    b = Integer.parseInt(input[2]);
				if (operation == '?') {
					break;
				}
				switch (operation) {
				case '+':
					result.add(a + b);
					break;

				case '-':
					result.add(a - b);
					break;
				case '*':
					result.add(a * b);
					break;
				case '/':
					result.add(a / b);
					break;
				}
				count = i;
				i++;
			} true {
				String[] input = stdin.nextLine().split(" ");
				int a = 0;
				int b = 0;
				char operation = 0;
				a = Integer.parseInt(input[0]);
			    operation = input[1].charAt(0);
			    b = Integer.parseInt(input[2]);
				if (operation == '?') {
					break;
				}
				switch (operation) {
				case '+':
					result.add(a + b);
					break;

				case '-':
					result.add(a - b);
					break;
				case '*':
					result.add(a * b);
					break;
				case '/':
					result.add(a / b);
					break;
				}
				count = i;
				i++;
			} String[] input = stdin.nextLine().split(" "); input stdin.nextLine().split(" ") stdin.nextLine().split stdin.nextLine() stdin.nextLine stdin " " int a = 0; a 0 int b = 0; b 0 char operation = 0; operation 0 a = Integer.parseInt(input[0]) a Integer.parseInt(input[0]) Integer.parseInt Integer input[0] input 0 operation = input[1].charAt(0) operation input[1].charAt(0) input[1].charAt input[1] input 1 0 b = Integer.parseInt(input[2]) b Integer.parseInt(input[2]) Integer.parseInt Integer input[2] input 2 if (operation == '?') {
					break;
				} operation == '?' operation '?' {
					break;
				} break; switch (operation) {
				case '+':
					result.add(a + b);
					break;

				case '-':
					result.add(a - b);
					break;
				case '*':
					result.add(a * b);
					break;
				case '/':
					result.add(a / b);
					break;
				} operation case '+': '+' case '+': result.add(a + b) result.add result a + b a b break; case '-': '-' case '-': result.add(a - b) result.add result a - b a b break; case '*': '*' case '*': result.add(a * b) result.add result a * b a b break; case '/': '/' case '/': result.add(a / b) result.add result a / b a b break; count = i count i i++ i for (int j = 0; j < result.size(); j++) {
				System.out.println(result.get(j));
			} int j = 0; int j = 0; j 0 j < result.size() j result.size() result.size result j++ j++ j {
				System.out.println(result.get(j));
			} {
				System.out.println(result.get(j));
			} System.out.println(result.get(j)) System.out.println System.out System System.out result.get(j) result.get result j String[] args args public class Main {

	public static void main(String[] args) {
		{
			Scanner stdin = new Scanner(System.in);
			List<Integer> result = new ArrayList<>();
			int i = 0, count = 0;
			while (true) {
				String[] input = stdin.nextLine().split(" ");
				int a = 0;
				int b = 0;
				char operation = 0;
				a = Integer.parseInt(input[0]);
			    operation = input[1].charAt(0);
			    b = Integer.parseInt(input[2]);
				if (operation == '?') {
					break;
				}
				switch (operation) {
				case '+':
					result.add(a + b);
					break;

				case '-':
					result.add(a - b);
					break;
				case '*':
					result.add(a * b);
					break;
				case '/':
					result.add(a / b);
					break;
				}
				count = i;
				i++;
			}
			for (int j = 0; j < result.size(); j++) {
				System.out.println(result.get(j));
			}
		}
	}
} public class Main {

	public static void main(String[] args) {
		{
			Scanner stdin = new Scanner(System.in);
			List<Integer> result = new ArrayList<>();
			int i = 0, count = 0;
			while (true) {
				String[] input = stdin.nextLine().split(" ");
				int a = 0;
				int b = 0;
				char operation = 0;
				a = Integer.parseInt(input[0]);
			    operation = input[1].charAt(0);
			    b = Integer.parseInt(input[2]);
				if (operation == '?') {
					break;
				}
				switch (operation) {
				case '+':
					result.add(a + b);
					break;

				case '-':
					result.add(a - b);
					break;
				case '*':
					result.add(a * b);
					break;
				case '/':
					result.add(a / b);
					break;
				}
				count = i;
				i++;
			}
			for (int j = 0; j < result.size(); j++) {
				System.out.println(result.get(j));
			}
		}
	}
} Main
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		{
			Scanner stdin = new Scanner(System.in);
			List<Integer> result = new ArrayList<>();
			int i = 0, count = 0;
			while (true) {
				String[] input = stdin.nextLine().split(" ");
				int a = 0;
				int b = 0;
				char operation = 0;
				a = Integer.parseInt(input[0]);
			    operation = input[1].charAt(0);
			    b = Integer.parseInt(input[2]);
				if (operation == '?') {
					break;
				}
				switch (operation) {
				case '+':
					result.add(a + b);
					break;

				case '-':
					result.add(a - b);
					break;
				case '*':
					result.add(a * b);
					break;
				case '/':
					result.add(a / b);
					break;
				}
				count = i;
				i++;
			}
			for (int j = 0; j < result.size(); j++) {
				System.out.println(result.get(j));
			}
		}
	}
}