n = int(input()) b = 1.299038105676657 for i in range(n): a = float(input()) print(a * a * b)