// editor1
#include<stdio.h>
#include<stdlib.h>

struct node{
    char data[100];
    struct node *next;
    struct node *prev;
};

struct node *createnode(char data){
    struct node *newnode= (struct node*)malloc(sizeof(struct node));
    newnode->data= data;
    newnode->next=NULL;
    newnode->prev= NULL;
    return newnode;
}

void display(struct node *head){
    struct node *temp=head;
    while(temp!=NULL){
        printf("%s ", temp->data);
        temp=temp->next;
    }
    printf("\n");
}

void deleteBegining(struct node *head){
    strct node *temp= head;
    head=head->next;
    if(head!=NULL){
        head->prev=NULL;
    }
    free(temp);
}

int main(){
    int n;
    scanf("%d", &n);
    for(int i=0; i<n;  i++){
        createnode()
    }
}