#include #include #include #include #include #include #include #include #include #include #include #define pb push_back #define all(x) begin(x), end(x) #define gall(x) begin(x), end(x), greater<>() #define ll long long #define rep(i,x) for(int i=0;i #define lP pair using namespace std; using namespace atcoder; using mint=modint998244353; const int INF=1e9; int main() { int t; cin>>t; rep(i,t){ ll n,ans=0; cin>>n; ans=n*(n+1); cout<