#include using namespace std; int main(){ cin.tie(nullptr); ios::sync_with_stdio(false); int n, ans = 0; cin >> n; n *= 2; // 0:(, 1:) for(int i = 0; i < (1 << n); i++){ bool f = true; int zero = 0, one = 0; for(int j = 0; j < n; j++){ if((i >> j) & 1) one++; else zero++; if(zero < one){f = false; break;} } if(f and zero == one) ans++; } cout << ans << endl; return 0; }