// 提出時にassertはオフ #ifndef DEBUG #ifndef NDEBUG #define NDEBUG #endif #endif #include using namespace std; using ll = long long; #define ALL(x) (x).begin(), (x).end() template using vec = vector; int main() { ios_base::sync_with_stdio(false); cin.tie(nullptr); int T; cin >> T; for(int i = 0; i < T; i++){ ll n; cin >> n; cout << n * (n + 1) << "\n"; } }