from math import sin, pi theta = 60 * pi / 180 t = int(input()) for _ in range(t): r = int(input()) a = 2 * r * sin(theta) S = a * a * sin(theta) / 2 print(f'{S: .6f}')