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