N=int(input()) for i in range(N): s=int(input()) print(s**0.5)