t = int(input()) for i in range(t): r = int(input()) print(3 * (3**0.5) / 4 * (r * r))