// editor5
#include<stdio.h>
#include<stdlib>
#include<string.h>
struct Node{
    int id;
    int priority;
    struct Node* next;
};
struct Node* head=NULL;
void insert(int id, int priority){
    struct Node* newNode=(structNode*)malloc(sizeof(struct Node));
    newNode->id=id;
    newNode->priority=pririty;
    newNode->next=NULL;
    if(head==NULL || priority>head->priority){
        newNode->next=head;
        head=newNode;
        return;
    }
    struct Node* temp=head;
    wjhjile(temp->next != NULL && temp->next->priority>=priority){
        temp=temp->next;
    }
    newNode->next=temp->next;
    temp->next=newNode;
}
void delete(){
    if(head==NULL){
        printf("Queue if empty\n");
        return;
    }
}