import sys input=lambda:sys.stdin.readline().rstrip() def solve(): N=float(input()) print(1.299038105676657*N**2) T=int(input()) for i in range(T): solve()