import java.util.*;

public class TestUtils {
	public static void main(String[] args) {
		Scanner kbd = new Scanner(System.in);
		while(true) {
			System.out.print("enter 3 ints -> ");
			int x = kbd.nextInt();
			int y = kbd.nextInt();
			int z = kbd.nextInt();
			System.out.println("2^" + x + " = " + MathUtils.exp(x));
			System.out.println("2^" + y + " = " + MathUtils.exp(y));
			System.out.println("2^" + z + " = " + MathUtils.exp(z));
			System.out.println("max = " + MathUtils.max(x, y, z));

			System.out.print("quit?(y/n) ");
			String response = kbd.next();
			if (response.equals("y")) break;
		}
		System.out.println("bye");
	}


}