import math t = int(input()) for _ in range(t): r = int(input()) max_area = (3 * math.sqrt(3) / 4) * (r ** 2) print("{0:.15f}".format(max_area))