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