

import java.util.Scanner;

public class Main {
	public static void main(String[] atgs){
		//????????£?????????????????????
		Scanner sc = new Scanner(System.in);
		//??°?????????
		while(true){
			//A???????????????
			int A = sc.nextInt();
			//??????????????????
			String operator = sc.next();
			//B???????????????
			int B = sc.nextInt();
			//????????¨???????????°??????
			if(operator.equals("?")){
			 break;
			}
			//????¨??¨????
			switch(operator){
			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);
				break;

			default:
				break;
				}
		}
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] atgs){
		//????????£?????????????????????
		Scanner sc = new Scanner(System.in);
		//??°?????????
		while(true){
			//A???????????????
			int A = sc.nextInt();
			//??????????????????
			String operator = sc.next();
			//B???????????????
			int B = sc.nextInt();
			//????????¨???????????°??????
			if(operator.equals("?")){
			 break;
			}
			//????¨??¨????
			switch(operator){
			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);
				break;

			default:
				break;
				}
		}
	}
} Main public static void main(String[] atgs){
		//????????£?????????????????????
		Scanner sc = new Scanner(System.in);
		//??°?????????
		while(true){
			//A???????????????
			int A = sc.nextInt();
			//??????????????????
			String operator = sc.next();
			//B???????????????
			int B = sc.nextInt();
			//????????¨???????????°??????
			if(operator.equals("?")){
			 break;
			}
			//????¨??¨????
			switch(operator){
			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);
				break;

			default:
				break;
				}
		}
	} main {
		//????????£?????????????????????
		Scanner sc = new Scanner(System.in);
		//??°?????????
		while(true){
			//A???????????????
			int A = sc.nextInt();
			//??????????????????
			String operator = sc.next();
			//B???????????????
			int B = sc.nextInt();
			//????????¨???????????°??????
			if(operator.equals("?")){
			 break;
			}
			//????¨??¨????
			switch(operator){
			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);
				break;

			default:
				break;
				}
		}
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) while(true){
			//A???????????????
			int A = sc.nextInt();
			//??????????????????
			String operator = sc.next();
			//B???????????????
			int B = sc.nextInt();
			//????????¨???????????°??????
			if(operator.equals("?")){
			 break;
			}
			//????¨??¨????
			switch(operator){
			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);
				break;

			default:
				break;
				}
		} true {
			//A???????????????
			int A = sc.nextInt();
			//??????????????????
			String operator = sc.next();
			//B???????????????
			int B = sc.nextInt();
			//????????¨???????????°??????
			if(operator.equals("?")){
			 break;
			}
			//????¨??¨????
			switch(operator){
			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);
				break;

			default:
				break;
				}
		} int A = sc.nextInt(); A sc.nextInt() sc.nextInt sc String operator = sc.next(); operator sc.next() sc.next sc int B = sc.nextInt(); B sc.nextInt() sc.nextInt sc if(operator.equals("?")){
			 break;
			} operator.equals("?") operator.equals operator "?" {
			 break;
			} break; switch(operator){
			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);
				break;

			default:
				break;
				} operator 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 break; default: default: break; String[] atgs atgs public class Main {
	public static void main(String[] atgs){
		//????????£?????????????????????
		Scanner sc = new Scanner(System.in);
		//??°?????????
		while(true){
			//A???????????????
			int A = sc.nextInt();
			//??????????????????
			String operator = sc.next();
			//B???????????????
			int B = sc.nextInt();
			//????????¨???????????°??????
			if(operator.equals("?")){
			 break;
			}
			//????¨??¨????
			switch(operator){
			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);
				break;

			default:
				break;
				}
		}
	}
} public class Main {
	public static void main(String[] atgs){
		//????????£?????????????????????
		Scanner sc = new Scanner(System.in);
		//??°?????????
		while(true){
			//A???????????????
			int A = sc.nextInt();
			//??????????????????
			String operator = sc.next();
			//B???????????????
			int B = sc.nextInt();
			//????????¨???????????°??????
			if(operator.equals("?")){
			 break;
			}
			//????¨??¨????
			switch(operator){
			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);
				break;

			default:
				break;
				}
		}
	}
} Main


import java.util.Scanner;

public class Main {
	public static void main(String[] atgs){
		//????????£?????????????????????
		Scanner sc = new Scanner(System.in);
		//??°?????????
		while(true){
			//A???????????????
			int A = sc.nextInt();
			//??????????????????
			String operator = sc.next();
			//B???????????????
			int B = sc.nextInt();
			//????????¨???????????°??????
			if(operator.equals("?")){
			 break;
			}
			//????¨??¨????
			switch(operator){
			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);
				break;

			default:
				break;
				}
		}
	}
}