import math t=int(input()) r3=math.sqrt(3) for _ in range(t): print(int(input())**2*3*r3/4)