import math sq3 = math.sqrt(3) t = int(input()) for _ in range(t): r = int(input()) ans = 3*sq3*r*r/4 print(f"{ans:.10f}")