public class RadQ {
	public static void main(String[] args) {
		double a = 0.5,
			aa = 0;
		int i = 0;
		while(a != aa) {
			aa = a;
			a = Math.sqrt(a);
			System.out.println(++i + "\t" + a);
		}
	}
}