import math N = int(input()) x = [] for i in range(N): x.append(int(input())) for i in range(N): print(math.sqrt(x[i]))