from math import sqrt as rt T = int(input()) for i in range(T): a = int(input()) print(rt(a))