#include using namespace std; void Solve(){ long long n; cin >> n; cout << n * (n + 1) << '\n'; } int main(){ ios::sync_with_stdio(0), cin.tie(0), cout.tie(0); int t; cin >> t; while (t--){ Solve(); } return 0; }//