import math T = int(input()) for _ in range(T): r = int(input()) print((3 * math.sqrt(3) / 4) * r ** 2)