input n,the number of objects
printf("\n enter n between 1 and %d\n",LIMIT-1);
scanf("%d",pn);