_ = input() while True: try: r = int(input()) print(1.299038105676657 * r**2) except EOFError: break