

import java.util.Scanner;

public class Main {
	public static void main(String[] args){
		//????????£????????????????????°?????????????????£?¨?
		Scanner sc = new Scanner(System.in);
		//??°?????????
		while(true){
			//???????????°???
			int intA = sc.nextInt();
			//??????
			String strOp = sc.next();
			//???????????°???
			int intB = sc.nextInt();
			//?????¶strOp????????????????¨????
			if("+".equals (strOp)){
				System.out.println(intA + intB);
			}else if("-".equals (strOp)){
				System.out.println(intA - intB);
			}else if("*".equals (strOp)){
				System.out.println(intA * intB);
			}else if("/".equals (strOp)){
				System.out.println(intA / intB);
			}else if("?".equals(strOp)){
				break;
			}
		}
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args){
		//????????£????????????????????°?????????????????£?¨?
		Scanner sc = new Scanner(System.in);
		//??°?????????
		while(true){
			//???????????°???
			int intA = sc.nextInt();
			//??????
			String strOp = sc.next();
			//???????????°???
			int intB = sc.nextInt();
			//?????¶strOp????????????????¨????
			if("+".equals (strOp)){
				System.out.println(intA + intB);
			}else if("-".equals (strOp)){
				System.out.println(intA - intB);
			}else if("*".equals (strOp)){
				System.out.println(intA * intB);
			}else if("/".equals (strOp)){
				System.out.println(intA / intB);
			}else if("?".equals(strOp)){
				break;
			}
		}
	}
} Main public static void main(String[] args){
		//????????£????????????????????°?????????????????£?¨?
		Scanner sc = new Scanner(System.in);
		//??°?????????
		while(true){
			//???????????°???
			int intA = sc.nextInt();
			//??????
			String strOp = sc.next();
			//???????????°???
			int intB = sc.nextInt();
			//?????¶strOp????????????????¨????
			if("+".equals (strOp)){
				System.out.println(intA + intB);
			}else if("-".equals (strOp)){
				System.out.println(intA - intB);
			}else if("*".equals (strOp)){
				System.out.println(intA * intB);
			}else if("/".equals (strOp)){
				System.out.println(intA / intB);
			}else if("?".equals(strOp)){
				break;
			}
		}
	} main {
		//????????£????????????????????°?????????????????£?¨?
		Scanner sc = new Scanner(System.in);
		//??°?????????
		while(true){
			//???????????°???
			int intA = sc.nextInt();
			//??????
			String strOp = sc.next();
			//???????????°???
			int intB = sc.nextInt();
			//?????¶strOp????????????????¨????
			if("+".equals (strOp)){
				System.out.println(intA + intB);
			}else if("-".equals (strOp)){
				System.out.println(intA - intB);
			}else if("*".equals (strOp)){
				System.out.println(intA * intB);
			}else if("/".equals (strOp)){
				System.out.println(intA / intB);
			}else if("?".equals(strOp)){
				break;
			}
		}
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) while(true){
			//???????????°???
			int intA = sc.nextInt();
			//??????
			String strOp = sc.next();
			//???????????°???
			int intB = sc.nextInt();
			//?????¶strOp????????????????¨????
			if("+".equals (strOp)){
				System.out.println(intA + intB);
			}else if("-".equals (strOp)){
				System.out.println(intA - intB);
			}else if("*".equals (strOp)){
				System.out.println(intA * intB);
			}else if("/".equals (strOp)){
				System.out.println(intA / intB);
			}else if("?".equals(strOp)){
				break;
			}
		} true {
			//???????????°???
			int intA = sc.nextInt();
			//??????
			String strOp = sc.next();
			//???????????°???
			int intB = sc.nextInt();
			//?????¶strOp????????????????¨????
			if("+".equals (strOp)){
				System.out.println(intA + intB);
			}else if("-".equals (strOp)){
				System.out.println(intA - intB);
			}else if("*".equals (strOp)){
				System.out.println(intA * intB);
			}else if("/".equals (strOp)){
				System.out.println(intA / intB);
			}else if("?".equals(strOp)){
				break;
			}
		} int intA = sc.nextInt(); intA sc.nextInt() sc.nextInt sc String strOp = sc.next(); strOp sc.next() sc.next sc int intB = sc.nextInt(); intB sc.nextInt() sc.nextInt sc if("+".equals (strOp)){
				System.out.println(intA + intB);
			}else if("-".equals (strOp)){
				System.out.println(intA - intB);
			}else if("*".equals (strOp)){
				System.out.println(intA * intB);
			}else if("/".equals (strOp)){
				System.out.println(intA / intB);
			}else if("?".equals(strOp)){
				break;
			} "+".equals (strOp) "+".equals "+" strOp {
				System.out.println(intA + intB);
			} System.out.println(intA + intB) System.out.println System.out System System.out intA + intB intA intB if("-".equals (strOp)){
				System.out.println(intA - intB);
			}else if("*".equals (strOp)){
				System.out.println(intA * intB);
			}else if("/".equals (strOp)){
				System.out.println(intA / intB);
			}else if("?".equals(strOp)){
				break;
			} "-".equals (strOp) "-".equals "-" strOp {
				System.out.println(intA - intB);
			} System.out.println(intA - intB) System.out.println System.out System System.out intA - intB intA intB if("*".equals (strOp)){
				System.out.println(intA * intB);
			}else if("/".equals (strOp)){
				System.out.println(intA / intB);
			}else if("?".equals(strOp)){
				break;
			} "*".equals (strOp) "*".equals "*" strOp {
				System.out.println(intA * intB);
			} System.out.println(intA * intB) System.out.println System.out System System.out intA * intB intA intB if("/".equals (strOp)){
				System.out.println(intA / intB);
			}else if("?".equals(strOp)){
				break;
			} "/".equals (strOp) "/".equals "/" strOp {
				System.out.println(intA / intB);
			} System.out.println(intA / intB) System.out.println System.out System System.out intA / intB intA intB if("?".equals(strOp)){
				break;
			} "?".equals(strOp) "?".equals "?" strOp {
				break;
			} break; String[] args args public class Main {
	public static void main(String[] args){
		//????????£????????????????????°?????????????????£?¨?
		Scanner sc = new Scanner(System.in);
		//??°?????????
		while(true){
			//???????????°???
			int intA = sc.nextInt();
			//??????
			String strOp = sc.next();
			//???????????°???
			int intB = sc.nextInt();
			//?????¶strOp????????????????¨????
			if("+".equals (strOp)){
				System.out.println(intA + intB);
			}else if("-".equals (strOp)){
				System.out.println(intA - intB);
			}else if("*".equals (strOp)){
				System.out.println(intA * intB);
			}else if("/".equals (strOp)){
				System.out.println(intA / intB);
			}else if("?".equals(strOp)){
				break;
			}
		}
	}
} public class Main {
	public static void main(String[] args){
		//????????£????????????????????°?????????????????£?¨?
		Scanner sc = new Scanner(System.in);
		//??°?????????
		while(true){
			//???????????°???
			int intA = sc.nextInt();
			//??????
			String strOp = sc.next();
			//???????????°???
			int intB = sc.nextInt();
			//?????¶strOp????????????????¨????
			if("+".equals (strOp)){
				System.out.println(intA + intB);
			}else if("-".equals (strOp)){
				System.out.println(intA - intB);
			}else if("*".equals (strOp)){
				System.out.println(intA * intB);
			}else if("/".equals (strOp)){
				System.out.println(intA / intB);
			}else if("?".equals(strOp)){
				break;
			}
		}
	}
} Main


import java.util.Scanner;

public class Main {
	public static void main(String[] args){
		//????????£????????????????????°?????????????????£?¨?
		Scanner sc = new Scanner(System.in);
		//??°?????????
		while(true){
			//???????????°???
			int intA = sc.nextInt();
			//??????
			String strOp = sc.next();
			//???????????°???
			int intB = sc.nextInt();
			//?????¶strOp????????????????¨????
			if("+".equals (strOp)){
				System.out.println(intA + intB);
			}else if("-".equals (strOp)){
				System.out.println(intA - intB);
			}else if("*".equals (strOp)){
				System.out.println(intA * intB);
			}else if("/".equals (strOp)){
				System.out.println(intA / intB);
			}else if("?".equals(strOp)){
				break;
			}
		}
	}
}