r3 = 3**(1/2) for t in range(int(input())): rad = int(input()) print(((rad/2)**2)*r3*6)