#include #include int main() { int n,*a,i,m,j,s=0,k=1<<15; scanf("%d",&n); a=(int *)calloc(k,sizeof(int)); a[0]=1; for (i=0;i