#include<stdio.h>
#include<stdlib.h>
typedef struct node{
    int data()
    struct node *next;
}Node;
node *head=NULL; 
void insert(int num){
    Node *newnode=(Node*)malloc(1*sizeof(node))
    newnode->data=num;
    if(head==NULL){
        newnode->next=newnode;
        head=newnode;
    }
    else{
        newnode->next=head->next;
        head->next=Newnode;
        
    }
}
void display(){
    Node *temp=head->next;
    do{
        printf("%d",temp->data);
        temp=temp->next;
    }while(temp!=head->next);
}
int main(){
    int n,num;
    scan("%d",&n);
    if(n<=0){
        printf("Invalid input");
        
    }
}