from math import sqrt t=int(input()) for i in range(t): r=int(input()) print(3*sqrt(3)*r*r/4)