N = int(input()) for _ in range(N): a = int(input()) print(1.299038105676657 * (a**2))