T = int(input()) for _ in range(T): n = int(input()) print(n * n * 1.299038105676657)