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