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