t = int(input()) for i in range(t): r = int(input()) ans = round(r * r * 3 * 3 ** 0.5 / 4, 5) print(ans)