#define rep(i,n) for(int i=0;i<(int)(n);i++) #define ALL(v) v.begin(),v.end() typedef long long ll; #include using namespace std; templateusing V=vector; templateusing VV=V>;//B(n,V(n)) const int MOD=998244353; ll A[1010][1010]; ll B[1010][1010]; int main(){ ios::sync_with_stdio(false); std::cin.tie(nullptr); int n; cin>>n; if(n%2){ cout<<0<j) continue; if(i) A[i][j]=(A[i][j]+A[i-1][j])%MOD; if(j) A[i][j]=(A[i][j]+A[i][j-1])%MOD; } for(int i=n/2;i>=0;i--) for(int j=n/2;j>=0;j--){ if(i>j) continue; if(i