#include <bits/stdc++.h>
using namespace std;
int n, d;
void quaylui(int mo, int dong)
{
if (mo == 0 && dong == 0)
{
d++;
return;
}
if (mo > 0)
{
quaylui(mo - 1, dong);
}
if (dong > mo)
{
quaylui(mo, dong - 1);
}
}
int main()
{
cin >> n;
quaylui(n / 2, n / 2);
cout << d;
return 0;
}
I2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CgppbnQgbiwgZDsKCnZvaWQgcXVheWx1aShpbnQgbW8sIGludCBkb25nKQp7CiAgICBpZiAobW8gPT0gMCAmJiBkb25nID09IDApCiAgICB7CiAgICAgICAgZCsrOwogICAgICAgIHJldHVybjsKICAgIH0KICAgIGlmIChtbyA+IDApCiAgICB7CiAgICAgICAgcXVheWx1aShtbyAtIDEsIGRvbmcpOwogICAgfQogICAgaWYgKGRvbmcgPiBtbykKICAgIHsKICAgICAgICBxdWF5bHVpKG1vLCBkb25nIC0gMSk7CiAgICB9Cn0KCmludCBtYWluKCkKewogICAgY2luID4+IG47CiAgICBxdWF5bHVpKG4gLyAyLCBuIC8gMik7CiAgICBjb3V0IDw8IGQ7CiAgICByZXR1cm4gMDsKfQo=