#include using namespace std; int main() { int t; cin >> t; while (t--) { double r; cin >> r; cout << fixed << setprecision(18) << 3*r*r*sqrt(3)/4 << endl; } }