mod = 1000000007 eps = 10**-9 def main(): import sys input = sys.stdin.readline for _ in range(int(input())): r = int(input()) print(1.299038105676657 * r * r) if __name__ == '__main__': main()