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