import math n = int(input()) for i in range(n): j = int(input()) print(math.sqrt(j))