#include<stdio.h>
#include<stdlib.h>

typedef struct Node{
    int data;
    struct Node *next;
    
}node;

node *head=NULL;
node *tail;
node *newnode;

void create(int num){
    newnode=(node*)malloc(sizeof(node));
    newnode->data=num;
    newnode->next=NULL;
    if(head==0){
        head=newnode;
        tail=newnode;
    }
    tail->next=newnode;
    tail=newnode;
}
void display(int pos){
    node *ind;
    ind=head;
    if(ind->data > pos){
        printf("Empty");
        return 0;
    }
    else{
    for(ind=head;ind->data < pos;ind=ind->next){
        printf("%d",ind->data);
    }
}
}