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