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