import java.util.*;

public class Main{
	private static final Scanner scan = new Scanner(System.in);

	public static void main(String[] args){
		List<Integer> answers = new ArrayList<Integer>();
		for(;;){
			int a = scan.nextInt();
			String op = scan.next();
			char o = op.charAt(0);
			int b = scan.nextInt();
			if(o == '?'){
				break;
			}
			int ans = 0;
			switch(o){
				case '+' :
					ans = a + b;
					break;
				case '-' :
					ans = a - b;
					break;
				case '*' :
					ans = a * b;
					break;
				case '/' :
					ans = a / b;
					break;
				default :
					break;
			}
			answers.add(ans);
		}

		for(int an : answers){
			System.out.printf("%d\n", an);
		}
	}
} import java.util.*; util.* java public class Main{
	private static final Scanner scan = new Scanner(System.in);

	public static void main(String[] args){
		List<Integer> answers = new ArrayList<Integer>();
		for(;;){
			int a = scan.nextInt();
			String op = scan.next();
			char o = op.charAt(0);
			int b = scan.nextInt();
			if(o == '?'){
				break;
			}
			int ans = 0;
			switch(o){
				case '+' :
					ans = a + b;
					break;
				case '-' :
					ans = a - b;
					break;
				case '*' :
					ans = a * b;
					break;
				case '/' :
					ans = a / b;
					break;
				default :
					break;
			}
			answers.add(ans);
		}

		for(int an : answers){
			System.out.printf("%d\n", an);
		}
	}
} Main private static final Scanner scan = new Scanner(System.in); scan new Scanner(System.in) public static void main(String[] args){
		List<Integer> answers = new ArrayList<Integer>();
		for(;;){
			int a = scan.nextInt();
			String op = scan.next();
			char o = op.charAt(0);
			int b = scan.nextInt();
			if(o == '?'){
				break;
			}
			int ans = 0;
			switch(o){
				case '+' :
					ans = a + b;
					break;
				case '-' :
					ans = a - b;
					break;
				case '*' :
					ans = a * b;
					break;
				case '/' :
					ans = a / b;
					break;
				default :
					break;
			}
			answers.add(ans);
		}

		for(int an : answers){
			System.out.printf("%d\n", an);
		}
	} main {
		List<Integer> answers = new ArrayList<Integer>();
		for(;;){
			int a = scan.nextInt();
			String op = scan.next();
			char o = op.charAt(0);
			int b = scan.nextInt();
			if(o == '?'){
				break;
			}
			int ans = 0;
			switch(o){
				case '+' :
					ans = a + b;
					break;
				case '-' :
					ans = a - b;
					break;
				case '*' :
					ans = a * b;
					break;
				case '/' :
					ans = a / b;
					break;
				default :
					break;
			}
			answers.add(ans);
		}

		for(int an : answers){
			System.out.printf("%d\n", an);
		}
	} List<Integer> answers = new ArrayList<Integer>(); answers new ArrayList<Integer>() for(;;){
			int a = scan.nextInt();
			String op = scan.next();
			char o = op.charAt(0);
			int b = scan.nextInt();
			if(o == '?'){
				break;
			}
			int ans = 0;
			switch(o){
				case '+' :
					ans = a + b;
					break;
				case '-' :
					ans = a - b;
					break;
				case '*' :
					ans = a * b;
					break;
				case '/' :
					ans = a / b;
					break;
				default :
					break;
			}
			answers.add(ans);
		} ; {
			int a = scan.nextInt();
			String op = scan.next();
			char o = op.charAt(0);
			int b = scan.nextInt();
			if(o == '?'){
				break;
			}
			int ans = 0;
			switch(o){
				case '+' :
					ans = a + b;
					break;
				case '-' :
					ans = a - b;
					break;
				case '*' :
					ans = a * b;
					break;
				case '/' :
					ans = a / b;
					break;
				default :
					break;
			}
			answers.add(ans);
		} {
			int a = scan.nextInt();
			String op = scan.next();
			char o = op.charAt(0);
			int b = scan.nextInt();
			if(o == '?'){
				break;
			}
			int ans = 0;
			switch(o){
				case '+' :
					ans = a + b;
					break;
				case '-' :
					ans = a - b;
					break;
				case '*' :
					ans = a * b;
					break;
				case '/' :
					ans = a / b;
					break;
				default :
					break;
			}
			answers.add(ans);
		} int a = scan.nextInt(); a scan.nextInt() scan.nextInt scan String op = scan.next(); op scan.next() scan.next scan char o = op.charAt(0); o op.charAt(0) op.charAt op 0 int b = scan.nextInt(); b scan.nextInt() scan.nextInt scan if(o == '?'){
				break;
			} o == '?' o '?' {
				break;
			} break; int ans = 0; ans 0 switch(o){
				case '+' :
					ans = a + b;
					break;
				case '-' :
					ans = a - b;
					break;
				case '*' :
					ans = a * b;
					break;
				case '/' :
					ans = a / b;
					break;
				default :
					break;
			} o case '+' : '+' case '+' : ans = a + b ans a + b a b break; case '-' : '-' case '-' : ans = a - b ans a - b a b break; case '*' : '*' case '*' : ans = a * b ans a * b a b break; case '/' : '/' case '/' : ans = a / b ans a / b a b break; default : default : break; answers.add(ans) answers.add answers ans for(int an : answers){
			System.out.printf("%d\n", an);
		} int an answers {
			System.out.printf("%d\n", an);
		} {
			System.out.printf("%d\n", an);
		} System.out.printf("%d\n", an) System.out.printf System.out System System.out "%d\n" an String[] args args public class Main{
	private static final Scanner scan = new Scanner(System.in);

	public static void main(String[] args){
		List<Integer> answers = new ArrayList<Integer>();
		for(;;){
			int a = scan.nextInt();
			String op = scan.next();
			char o = op.charAt(0);
			int b = scan.nextInt();
			if(o == '?'){
				break;
			}
			int ans = 0;
			switch(o){
				case '+' :
					ans = a + b;
					break;
				case '-' :
					ans = a - b;
					break;
				case '*' :
					ans = a * b;
					break;
				case '/' :
					ans = a / b;
					break;
				default :
					break;
			}
			answers.add(ans);
		}

		for(int an : answers){
			System.out.printf("%d\n", an);
		}
	}
} public class Main{
	private static final Scanner scan = new Scanner(System.in);

	public static void main(String[] args){
		List<Integer> answers = new ArrayList<Integer>();
		for(;;){
			int a = scan.nextInt();
			String op = scan.next();
			char o = op.charAt(0);
			int b = scan.nextInt();
			if(o == '?'){
				break;
			}
			int ans = 0;
			switch(o){
				case '+' :
					ans = a + b;
					break;
				case '-' :
					ans = a - b;
					break;
				case '*' :
					ans = a * b;
					break;
				case '/' :
					ans = a / b;
					break;
				default :
					break;
			}
			answers.add(ans);
		}

		for(int an : answers){
			System.out.printf("%d\n", an);
		}
	}
} Main
import java.util.*;

public class Main{
	private static final Scanner scan = new Scanner(System.in);

	public static void main(String[] args){
		List<Integer> answers = new ArrayList<Integer>();
		for(;;){
			int a = scan.nextInt();
			String op = scan.next();
			char o = op.charAt(0);
			int b = scan.nextInt();
			if(o == '?'){
				break;
			}
			int ans = 0;
			switch(o){
				case '+' :
					ans = a + b;
					break;
				case '-' :
					ans = a - b;
					break;
				case '*' :
					ans = a * b;
					break;
				case '/' :
					ans = a / b;
					break;
				default :
					break;
			}
			answers.add(ans);
		}

		for(int an : answers){
			System.out.printf("%d\n", an);
		}
	}
}