_ = input() while True: r = int(input()) print(1.299038105676657 * r**2)