// editor3
#include<stdio.h>
#include<stdlib.h>
typedef struct node{
    int data;
    struct node*next;
}Node;
Node*head=NULL,*tail=NULL;
void create(int num){
    Node*newNode=(Node*)malloc(sizeof(Node));
    if(head==NULL){
        newNode=head;
        newNode=tail;
    }
    else{
        tail=newNode;
        tail->next=newNode;
    }
}
void*display(){
    int main(){
    int num;
    swap(num);
    scanf("%d",&num);
    swap= head->tail;
    tail->head;
    return 0;
    }
}
    tail->next=head;
    head=tail;
    }