for t in range(int(input())): r=int(input()) print(r*r*1.299038105676657)