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