#include <iostream>
#include <cstdio>
#include <cstring>
using namespace std;
const int maxn = 300 + 5;
typedef long long ll;
//
ll b[maxn],c[maxn];
void solve(int n)
{
memset(c, 0, sizeof(c));
c[0] = c[1] = 1ll;
for (int i = 3; i < maxn; i += 2) {//每次乘上(1 + x ^ i)
for (int j = 0; j < maxn; j ++) {//(b[0] * 1 + b[i] * x ^ i) * (c[0] * 1 +...+ c[j] * x ^ j + ...)
if(i + j < maxn) b[j + i] = c[j];
}
for (int j = 0; j < maxn; j ++) {
c[j] += b[j];
b[j] = 0;
}
}
}
int main()
{
int n;
while (scanf("%d",&n) != EOF) {
solve(n);
printf("%lld\n",c[n]);
}
return 0;
}