#include<stdio.h>
#include<stdlib.h>
#include<ctype.h>
#include<string.h>
struct Node{
int data;
struct Node* prev;
struct Node* next;
};
struct Node*createNode(int data){
struct Node*newNode=(struct Node*)malloc(sizeof(struct Node));
newNode->data=data;
newNode->prev=NULL;
newNode->next=NULL;
return newNode;
}
void append(struct Node**head,int data){
struct Node* newNode = createNode(data0;
if(*head == NULL){