main()
{
int b,n,i;
empty();
printf("How many times do you want to push and to pop?\n");
scanf("%d",&n);
for(i=1;i<=n;i++)
{
printf("Enter the %d time's value:",i);
scanf("%d",&b);
push(b,i);
}
printf("\nThe value of head=%d\n",head->value);
for(i=1;i<=n;i++)
{
pop(&top);
}