t = int(input()) import math for _ in range(t): r = int(input()) ans = 3*math.sqrt(3)*(r**2)/4 print(ans)