t = int(input()) r = [int(input()) for _ in range(t)] for i in range(t): print(1.29903810568*r[i]*r[i])