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