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