t = int(input()) d = 1.299038105676657 for i in range(t): t = int(input()) print(t**2*d)