#include <stdio.h>
#include <stdlib.h>
struct node
{
int data;
struct node*next;
};
struct node *create(int m)
{
struct node *tail,*head,*p;
head=malloc(sizeof(struct node));
head->next=NULL;
tail=head;
for(int i=1;i<=m;i++)
{
p=malloc(sizeof