import java.util.Scanner;

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

		while(true){
			int a = scan.nextInt();
			String op = scan.next();
			int b = scan.nextInt();

			if(op.equals("?")){break;}

			System.out.println(calc(a,op,b));
		}
	}

	/**
	 * ?¨?????????????????????????????????????
	 * @param a int ???
	 * @param op String ?????????
	 * @param b int ???
	 * @return int?????§?¨???????????????????
	 */
	private static int calc(int a,String op,int b){
		int result = 0;

		//op????????£?????????????????????
		switch(op){
		case "+":
			result = a + b;
			break;
		case "-":
			result = a - b;
			break;
		case "*":
			result = a * b;
			break;
		case "/":
			result = a / b;
			break;
		}
		return result;
	}

} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String args[]){
		Scanner scan = new Scanner(System.in);

		while(true){
			int a = scan.nextInt();
			String op = scan.next();
			int b = scan.nextInt();

			if(op.equals("?")){break;}

			System.out.println(calc(a,op,b));
		}
	}

	/**
	 * ?¨?????????????????????????????????????
	 * @param a int ???
	 * @param op String ?????????
	 * @param b int ???
	 * @return int?????§?¨???????????????????
	 */
	private static int calc(int a,String op,int b){
		int result = 0;

		//op????????£?????????????????????
		switch(op){
		case "+":
			result = a + b;
			break;
		case "-":
			result = a - b;
			break;
		case "*":
			result = a * b;
			break;
		case "/":
			result = a / b;
			break;
		}
		return result;
	}

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

		while(true){
			int a = scan.nextInt();
			String op = scan.next();
			int b = scan.nextInt();

			if(op.equals("?")){break;}

			System.out.println(calc(a,op,b));
		}
	} main {
		Scanner scan = new Scanner(System.in);

		while(true){
			int a = scan.nextInt();
			String op = scan.next();
			int b = scan.nextInt();

			if(op.equals("?")){break;}

			System.out.println(calc(a,op,b));
		}
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) while(true){
			int a = scan.nextInt();
			String op = scan.next();
			int b = scan.nextInt();

			if(op.equals("?")){break;}

			System.out.println(calc(a,op,b));
		} true {
			int a = scan.nextInt();
			String op = scan.next();
			int b = scan.nextInt();

			if(op.equals("?")){break;}

			System.out.println(calc(a,op,b));
		} int a = scan.nextInt(); a scan.nextInt() scan.nextInt scan String op = scan.next(); op scan.next() scan.next scan int b = scan.nextInt(); b scan.nextInt() scan.nextInt scan if(op.equals("?")){break;} op.equals("?") op.equals op "?" {break;} break; System.out.println(calc(a,op,b)) System.out.println System.out System System.out calc(a,op,b) calc a op b String args[] args /**
	 * ?¨?????????????????????????????????????
	 * @param a int ???
	 * @param op String ?????????
	 * @param b int ???
	 * @return int?????§?¨???????????????????
	 */
	private static int calc(int a,String op,int b){
		int result = 0;

		//op????????£?????????????????????
		switch(op){
		case "+":
			result = a + b;
			break;
		case "-":
			result = a - b;
			break;
		case "*":
			result = a * b;
			break;
		case "/":
			result = a / b;
			break;
		}
		return result;
	} calc {
		int result = 0;

		//op????????£?????????????????????
		switch(op){
		case "+":
			result = a + b;
			break;
		case "-":
			result = a - b;
			break;
		case "*":
			result = a * b;
			break;
		case "/":
			result = a / b;
			break;
		}
		return result;
	} int result = 0; result 0 switch(op){
		case "+":
			result = a + b;
			break;
		case "-":
			result = a - b;
			break;
		case "*":
			result = a * b;
			break;
		case "/":
			result = a / b;
			break;
		} op case "+": "+" case "+": result = a + b result a + b a b break; case "-": "-" case "-": result = a - b result a - b a b break; case "*": "*" case "*": result = a * b result a * b a b break; case "/": "/" case "/": result = a / b result a / b a b break; return result; result int a a String op op int b b public class Main {
	public static void main(String args[]){
		Scanner scan = new Scanner(System.in);

		while(true){
			int a = scan.nextInt();
			String op = scan.next();
			int b = scan.nextInt();

			if(op.equals("?")){break;}

			System.out.println(calc(a,op,b));
		}
	}

	/**
	 * ?¨?????????????????????????????????????
	 * @param a int ???
	 * @param op String ?????????
	 * @param b int ???
	 * @return int?????§?¨???????????????????
	 */
	private static int calc(int a,String op,int b){
		int result = 0;

		//op????????£?????????????????????
		switch(op){
		case "+":
			result = a + b;
			break;
		case "-":
			result = a - b;
			break;
		case "*":
			result = a * b;
			break;
		case "/":
			result = a / b;
			break;
		}
		return result;
	}

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

		while(true){
			int a = scan.nextInt();
			String op = scan.next();
			int b = scan.nextInt();

			if(op.equals("?")){break;}

			System.out.println(calc(a,op,b));
		}
	}

	/**
	 * ?¨?????????????????????????????????????
	 * @param a int ???
	 * @param op String ?????????
	 * @param b int ???
	 * @return int?????§?¨???????????????????
	 */
	private static int calc(int a,String op,int b){
		int result = 0;

		//op????????£?????????????????????
		switch(op){
		case "+":
			result = a + b;
			break;
		case "-":
			result = a - b;
			break;
		case "*":
			result = a * b;
			break;
		case "/":
			result = a / b;
			break;
		}
		return result;
	}

} Main
import java.util.Scanner;

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

		while(true){
			int a = scan.nextInt();
			String op = scan.next();
			int b = scan.nextInt();

			if(op.equals("?")){break;}

			System.out.println(calc(a,op,b));
		}
	}

	/**
	 * ?¨?????????????????????????????????????
	 * @param a int ???
	 * @param op String ?????????
	 * @param b int ???
	 * @return int?????§?¨???????????????????
	 */
	private static int calc(int a,String op,int b){
		int result = 0;

		//op????????£?????????????????????
		switch(op){
		case "+":
			result = a + b;
			break;
		case "-":
			result = a - b;
			break;
		case "*":
			result = a * b;
			break;
		case "/":
			result = a / b;
			break;
		}
		return result;
	}

}