#include<stdio.h>
#include<stdlib.h>
struct Node{
    int data;
    struct Node* next;
};
struct Node *front=NULL,*rear=NULL;
void rotateQueue(int queue[],int n,int k);
if(n<=0||k<0){
    printf("Invalid input");
    return 0;
}
struct Node* temp=(struct Node*)malloc(sizeof(struct Node));
temp->data=k;
temp->next=NULL;
if(rear==NULL){
    front=rear=temp;
}
else{
    rear->next=temp;
    rear=temp;
}
printf("%d\n",k);
}