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