T = int(input()) for _ in range(T): r = int(input()) print(3*(3**0.5)*(r**2)/4)