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

public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);		

		List<Integer> a = new ArrayList<Integer>(); 
		List<Integer> b = new ArrayList<Integer>(); 
		List<Character> op = new ArrayList<Character>();
		
		while (true) {
			int _a = scan.nextInt();
			char _op = scan.next().charAt(0);
			int _b = scan.nextInt();

			if (_op == '?')
				break;
			
			a.add(_a);
			b.add(_b);
			op.add(_op);
		}

		for (int i = 0; i < a.size(); i++) {
			int _a = a.get(i);
			int _b = b.get(i);
			int _op = op.get(i);
			
			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);
			}
		}
		
		scan.close();
	}
} 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 scan = new Scanner(System.in);		

		List<Integer> a = new ArrayList<Integer>(); 
		List<Integer> b = new ArrayList<Integer>(); 
		List<Character> op = new ArrayList<Character>();
		
		while (true) {
			int _a = scan.nextInt();
			char _op = scan.next().charAt(0);
			int _b = scan.nextInt();

			if (_op == '?')
				break;
			
			a.add(_a);
			b.add(_b);
			op.add(_op);
		}

		for (int i = 0; i < a.size(); i++) {
			int _a = a.get(i);
			int _b = b.get(i);
			int _op = op.get(i);
			
			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);
			}
		}
		
		scan.close();
	}
} Main public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);		

		List<Integer> a = new ArrayList<Integer>(); 
		List<Integer> b = new ArrayList<Integer>(); 
		List<Character> op = new ArrayList<Character>();
		
		while (true) {
			int _a = scan.nextInt();
			char _op = scan.next().charAt(0);
			int _b = scan.nextInt();

			if (_op == '?')
				break;
			
			a.add(_a);
			b.add(_b);
			op.add(_op);
		}

		for (int i = 0; i < a.size(); i++) {
			int _a = a.get(i);
			int _b = b.get(i);
			int _op = op.get(i);
			
			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);
			}
		}
		
		scan.close();
	} main {
		Scanner scan = new Scanner(System.in);		

		List<Integer> a = new ArrayList<Integer>(); 
		List<Integer> b = new ArrayList<Integer>(); 
		List<Character> op = new ArrayList<Character>();
		
		while (true) {
			int _a = scan.nextInt();
			char _op = scan.next().charAt(0);
			int _b = scan.nextInt();

			if (_op == '?')
				break;
			
			a.add(_a);
			b.add(_b);
			op.add(_op);
		}

		for (int i = 0; i < a.size(); i++) {
			int _a = a.get(i);
			int _b = b.get(i);
			int _op = op.get(i);
			
			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);
			}
		}
		
		scan.close();
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) List<Integer> a = new ArrayList<Integer>(); a new ArrayList<Integer>() List<Integer> b = new ArrayList<Integer>(); b new ArrayList<Integer>() List<Character> op = new ArrayList<Character>(); op new ArrayList<Character>() while (true) {
			int _a = scan.nextInt();
			char _op = scan.next().charAt(0);
			int _b = scan.nextInt();

			if (_op == '?')
				break;
			
			a.add(_a);
			b.add(_b);
			op.add(_op);
		} true {
			int _a = scan.nextInt();
			char _op = scan.next().charAt(0);
			int _b = scan.nextInt();

			if (_op == '?')
				break;
			
			a.add(_a);
			b.add(_b);
			op.add(_op);
		} int _a = scan.nextInt(); _a scan.nextInt() scan.nextInt scan char _op = scan.next().charAt(0); _op scan.next().charAt(0) scan.next().charAt scan.next() scan.next scan 0 int _b = scan.nextInt(); _b scan.nextInt() scan.nextInt scan if (_op == '?')
				break; _op == '?' _op '?' break; a.add(_a) a.add a _a b.add(_b) b.add b _b op.add(_op) op.add op _op for (int i = 0; i < a.size(); i++) {
			int _a = a.get(i);
			int _b = b.get(i);
			int _op = op.get(i);
			
			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);
			}
		} int i = 0; int i = 0; i 0 i < a.size() i a.size() a.size a i++ i++ i {
			int _a = a.get(i);
			int _b = b.get(i);
			int _op = op.get(i);
			
			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);
			}
		} {
			int _a = a.get(i);
			int _b = b.get(i);
			int _op = op.get(i);
			
			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);
			}
		} int _a = a.get(i); _a a.get(i) a.get a i int _b = b.get(i); _b b.get(i) b.get b i int _op = op.get(i); _op op.get(i) op.get op i 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);
			} _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 scan.close() scan.close scan String[] args args public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);		

		List<Integer> a = new ArrayList<Integer>(); 
		List<Integer> b = new ArrayList<Integer>(); 
		List<Character> op = new ArrayList<Character>();
		
		while (true) {
			int _a = scan.nextInt();
			char _op = scan.next().charAt(0);
			int _b = scan.nextInt();

			if (_op == '?')
				break;
			
			a.add(_a);
			b.add(_b);
			op.add(_op);
		}

		for (int i = 0; i < a.size(); i++) {
			int _a = a.get(i);
			int _b = b.get(i);
			int _op = op.get(i);
			
			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);
			}
		}
		
		scan.close();
	}
} public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);		

		List<Integer> a = new ArrayList<Integer>(); 
		List<Integer> b = new ArrayList<Integer>(); 
		List<Character> op = new ArrayList<Character>();
		
		while (true) {
			int _a = scan.nextInt();
			char _op = scan.next().charAt(0);
			int _b = scan.nextInt();

			if (_op == '?')
				break;
			
			a.add(_a);
			b.add(_b);
			op.add(_op);
		}

		for (int i = 0; i < a.size(); i++) {
			int _a = a.get(i);
			int _b = b.get(i);
			int _op = op.get(i);
			
			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);
			}
		}
		
		scan.close();
	}
} Main
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);		

		List<Integer> a = new ArrayList<Integer>(); 
		List<Integer> b = new ArrayList<Integer>(); 
		List<Character> op = new ArrayList<Character>();
		
		while (true) {
			int _a = scan.nextInt();
			char _op = scan.next().charAt(0);
			int _b = scan.nextInt();

			if (_op == '?')
				break;
			
			a.add(_a);
			b.add(_b);
			op.add(_op);
		}

		for (int i = 0; i < a.size(); i++) {
			int _a = a.get(i);
			int _b = b.get(i);
			int _op = op.get(i);
			
			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);
			}
		}
		
		scan.close();
	}
}