t = int(input()) for _ in range(t): r = int(input()) print(r ** 2 * 3 ** 1.5 / 4)