t=int(input()) a=3**0.5 l=[] for i in range(t): r=int(input()) l.append(6*a*r*r/8) for x in l: print(x)