/* ID: zhangzz4 PROG: subset LANG: C++ */ #include<stdio.h> const int N=40; int f[N*N/2][N]; int main() { freopen("subset.in","r",stdin); freopen("subset.out","w",stdout); int n; scanf("%d",&n); int sum=n*(n+1)/2; f[0][0]=1; for(int i=1;i<=sum/2;i++) for(int j=1;j<=n;j++) { f[i][j]=f[i][j-1]; if(i-j>=0) f[i][j]+=f[i-j][j-1]; } if(sum&1) puts("0"); else printf("%d/n",f[sum/2][n]); }