#include using namespace std; int main() { int t; cin >> t; while (t--) { int n; cin >> n; n *= 2; vectordp(n+1); dp[0] = 1; for(int i = 0; i <= n; i++) { for(int j = 2; i+j <= n; j += 2) { dp[i+j] += dp[i]*2; dp[i+j] %= 998244353; } } cout << dp[n] << endl; } }