#include <stdio.h>
struct node{
    int data;
    struct node *next;  
};
struct node* insertatbegining(struct node *head,int value){
    struct node* newnode=(struct node*)malloc(sizeof(struct node));
    newnode->data=value;
    newnode->next=head;
    return newnode;
}
void display(struct node* head){
    struct node* temp=head;
    while(temp!=NULL){
        printf("%d->",temp->data);
        temp=temp->next;
    }
    orintf("NULL\n");
}
int main() {
    struct node* head=NULL;
    head=insertatbegining(head,30);
    head=insertatbegining(head,56);
    head=insertatbegining(head,77);
    head=insertatbegining(head,55);
    head=insertatbegining(head,44);
    head=insertatbegining(head,23);
    printf("Linked List:\n")
    display(head);

}