#include <stdio.h>
#include<stdlib.h>
struct Node*next;
};
int main(){
    int n, value;
    struct Node*head=NULL;
    printf("enter number of nodes: ");
    scanf("%d", &n);
    for (int i=0;i<n;i++){
        scanf("%d", &value);
        
    }
}