

import java.util.Scanner;

public class Main {
	public static void main(String[] args){
		//????????£?????????????????????
		Scanner sc = new Scanner(System.in);


		//??°?????????
		while(true){
			//?????°?????£?¨? //??????????????????
			int answer = 0;

			//??°???1?????????
			int num1 = sc.nextInt();

			//??????????????????
			String computing = sc.next();

			//??°???2?????????
			int num2 = sc.nextInt();

			//?????¶??? ?????????????????????£????????????
			if(computing.equals("?")){
				break;
			}
			//?????¶??? ?????????????????£????¨????
			//?¶??????? +
			if(computing.equals("+")){
				answer = num1 + num2;
				System.out.println(answer);
			//????????? -
			}else if(computing.equals("-")){
				answer = num1 - num2;
				System.out.println(answer);
			//?????? *
			}else if(computing.equals("*")){
				answer = num1 * num2;
				System.out.println(answer);
			//????????? /
			}else if(computing.equals("/")){
				answer = num1 / num2;
				System.out.println(answer);
			}
		}

	}
} 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 answer = 0;

			//??°???1?????????
			int num1 = sc.nextInt();

			//??????????????????
			String computing = sc.next();

			//??°???2?????????
			int num2 = sc.nextInt();

			//?????¶??? ?????????????????????£????????????
			if(computing.equals("?")){
				break;
			}
			//?????¶??? ?????????????????£????¨????
			//?¶??????? +
			if(computing.equals("+")){
				answer = num1 + num2;
				System.out.println(answer);
			//????????? -
			}else if(computing.equals("-")){
				answer = num1 - num2;
				System.out.println(answer);
			//?????? *
			}else if(computing.equals("*")){
				answer = num1 * num2;
				System.out.println(answer);
			//????????? /
			}else if(computing.equals("/")){
				answer = num1 / num2;
				System.out.println(answer);
			}
		}

	}
} Main public static void main(String[] args){
		//????????£?????????????????????
		Scanner sc = new Scanner(System.in);


		//??°?????????
		while(true){
			//?????°?????£?¨? //??????????????????
			int answer = 0;

			//??°???1?????????
			int num1 = sc.nextInt();

			//??????????????????
			String computing = sc.next();

			//??°???2?????????
			int num2 = sc.nextInt();

			//?????¶??? ?????????????????????£????????????
			if(computing.equals("?")){
				break;
			}
			//?????¶??? ?????????????????£????¨????
			//?¶??????? +
			if(computing.equals("+")){
				answer = num1 + num2;
				System.out.println(answer);
			//????????? -
			}else if(computing.equals("-")){
				answer = num1 - num2;
				System.out.println(answer);
			//?????? *
			}else if(computing.equals("*")){
				answer = num1 * num2;
				System.out.println(answer);
			//????????? /
			}else if(computing.equals("/")){
				answer = num1 / num2;
				System.out.println(answer);
			}
		}

	} main {
		//????????£?????????????????????
		Scanner sc = new Scanner(System.in);


		//??°?????????
		while(true){
			//?????°?????£?¨? //??????????????????
			int answer = 0;

			//??°???1?????????
			int num1 = sc.nextInt();

			//??????????????????
			String computing = sc.next();

			//??°???2?????????
			int num2 = sc.nextInt();

			//?????¶??? ?????????????????????£????????????
			if(computing.equals("?")){
				break;
			}
			//?????¶??? ?????????????????£????¨????
			//?¶??????? +
			if(computing.equals("+")){
				answer = num1 + num2;
				System.out.println(answer);
			//????????? -
			}else if(computing.equals("-")){
				answer = num1 - num2;
				System.out.println(answer);
			//?????? *
			}else if(computing.equals("*")){
				answer = num1 * num2;
				System.out.println(answer);
			//????????? /
			}else if(computing.equals("/")){
				answer = num1 / num2;
				System.out.println(answer);
			}
		}

	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) while(true){
			//?????°?????£?¨? //??????????????????
			int answer = 0;

			//??°???1?????????
			int num1 = sc.nextInt();

			//??????????????????
			String computing = sc.next();

			//??°???2?????????
			int num2 = sc.nextInt();

			//?????¶??? ?????????????????????£????????????
			if(computing.equals("?")){
				break;
			}
			//?????¶??? ?????????????????£????¨????
			//?¶??????? +
			if(computing.equals("+")){
				answer = num1 + num2;
				System.out.println(answer);
			//????????? -
			}else if(computing.equals("-")){
				answer = num1 - num2;
				System.out.println(answer);
			//?????? *
			}else if(computing.equals("*")){
				answer = num1 * num2;
				System.out.println(answer);
			//????????? /
			}else if(computing.equals("/")){
				answer = num1 / num2;
				System.out.println(answer);
			}
		} true {
			//?????°?????£?¨? //??????????????????
			int answer = 0;

			//??°???1?????????
			int num1 = sc.nextInt();

			//??????????????????
			String computing = sc.next();

			//??°???2?????????
			int num2 = sc.nextInt();

			//?????¶??? ?????????????????????£????????????
			if(computing.equals("?")){
				break;
			}
			//?????¶??? ?????????????????£????¨????
			//?¶??????? +
			if(computing.equals("+")){
				answer = num1 + num2;
				System.out.println(answer);
			//????????? -
			}else if(computing.equals("-")){
				answer = num1 - num2;
				System.out.println(answer);
			//?????? *
			}else if(computing.equals("*")){
				answer = num1 * num2;
				System.out.println(answer);
			//????????? /
			}else if(computing.equals("/")){
				answer = num1 / num2;
				System.out.println(answer);
			}
		} int answer = 0; answer 0 int num1 = sc.nextInt(); num1 sc.nextInt() sc.nextInt sc String computing = sc.next(); computing sc.next() sc.next sc int num2 = sc.nextInt(); num2 sc.nextInt() sc.nextInt sc if(computing.equals("?")){
				break;
			} computing.equals("?") computing.equals computing "?" {
				break;
			} break; if(computing.equals("+")){
				answer = num1 + num2;
				System.out.println(answer);
			//????????? -
			}else if(computing.equals("-")){
				answer = num1 - num2;
				System.out.println(answer);
			//?????? *
			}else if(computing.equals("*")){
				answer = num1 * num2;
				System.out.println(answer);
			//????????? /
			}else if(computing.equals("/")){
				answer = num1 / num2;
				System.out.println(answer);
			} computing.equals("+") computing.equals computing "+" {
				answer = num1 + num2;
				System.out.println(answer);
			//????????? -
			} answer = num1 + num2 answer num1 + num2 num1 num2 System.out.println(answer) System.out.println System.out System System.out answer if(computing.equals("-")){
				answer = num1 - num2;
				System.out.println(answer);
			//?????? *
			}else if(computing.equals("*")){
				answer = num1 * num2;
				System.out.println(answer);
			//????????? /
			}else if(computing.equals("/")){
				answer = num1 / num2;
				System.out.println(answer);
			} computing.equals("-") computing.equals computing "-" {
				answer = num1 - num2;
				System.out.println(answer);
			//?????? *
			} answer = num1 - num2 answer num1 - num2 num1 num2 System.out.println(answer) System.out.println System.out System System.out answer if(computing.equals("*")){
				answer = num1 * num2;
				System.out.println(answer);
			//????????? /
			}else if(computing.equals("/")){
				answer = num1 / num2;
				System.out.println(answer);
			} computing.equals("*") computing.equals computing "*" {
				answer = num1 * num2;
				System.out.println(answer);
			//????????? /
			} answer = num1 * num2 answer num1 * num2 num1 num2 System.out.println(answer) System.out.println System.out System System.out answer if(computing.equals("/")){
				answer = num1 / num2;
				System.out.println(answer);
			} computing.equals("/") computing.equals computing "/" {
				answer = num1 / num2;
				System.out.println(answer);
			} answer = num1 / num2 answer num1 / num2 num1 num2 System.out.println(answer) System.out.println System.out System System.out answer String[] args args public class Main {
	public static void main(String[] args){
		//????????£?????????????????????
		Scanner sc = new Scanner(System.in);


		//??°?????????
		while(true){
			//?????°?????£?¨? //??????????????????
			int answer = 0;

			//??°???1?????????
			int num1 = sc.nextInt();

			//??????????????????
			String computing = sc.next();

			//??°???2?????????
			int num2 = sc.nextInt();

			//?????¶??? ?????????????????????£????????????
			if(computing.equals("?")){
				break;
			}
			//?????¶??? ?????????????????£????¨????
			//?¶??????? +
			if(computing.equals("+")){
				answer = num1 + num2;
				System.out.println(answer);
			//????????? -
			}else if(computing.equals("-")){
				answer = num1 - num2;
				System.out.println(answer);
			//?????? *
			}else if(computing.equals("*")){
				answer = num1 * num2;
				System.out.println(answer);
			//????????? /
			}else if(computing.equals("/")){
				answer = num1 / num2;
				System.out.println(answer);
			}
		}

	}
} public class Main {
	public static void main(String[] args){
		//????????£?????????????????????
		Scanner sc = new Scanner(System.in);


		//??°?????????
		while(true){
			//?????°?????£?¨? //??????????????????
			int answer = 0;

			//??°???1?????????
			int num1 = sc.nextInt();

			//??????????????????
			String computing = sc.next();

			//??°???2?????????
			int num2 = sc.nextInt();

			//?????¶??? ?????????????????????£????????????
			if(computing.equals("?")){
				break;
			}
			//?????¶??? ?????????????????£????¨????
			//?¶??????? +
			if(computing.equals("+")){
				answer = num1 + num2;
				System.out.println(answer);
			//????????? -
			}else if(computing.equals("-")){
				answer = num1 - num2;
				System.out.println(answer);
			//?????? *
			}else if(computing.equals("*")){
				answer = num1 * num2;
				System.out.println(answer);
			//????????? /
			}else if(computing.equals("/")){
				answer = num1 / num2;
				System.out.println(answer);
			}
		}

	}
} Main


import java.util.Scanner;

public class Main {
	public static void main(String[] args){
		//????????£?????????????????????
		Scanner sc = new Scanner(System.in);


		//??°?????????
		while(true){
			//?????°?????£?¨? //??????????????????
			int answer = 0;

			//??°???1?????????
			int num1 = sc.nextInt();

			//??????????????????
			String computing = sc.next();

			//??°???2?????????
			int num2 = sc.nextInt();

			//?????¶??? ?????????????????????£????????????
			if(computing.equals("?")){
				break;
			}
			//?????¶??? ?????????????????£????¨????
			//?¶??????? +
			if(computing.equals("+")){
				answer = num1 + num2;
				System.out.println(answer);
			//????????? -
			}else if(computing.equals("-")){
				answer = num1 - num2;
				System.out.println(answer);
			//?????? *
			}else if(computing.equals("*")){
				answer = num1 * num2;
				System.out.println(answer);
			//????????? /
			}else if(computing.equals("/")){
				answer = num1 / num2;
				System.out.println(answer);
			}
		}

	}
}