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