import math t = int(input()) for _ in range(t): r = int(input()) ans = 0.5 * math.sqrt(3) * r * r * 1.5 print("%.7f" % ans)