In this question what input take

in this question what input take and how to produce output

you just need to input the value of n and assume that the numbers that are to be enqueued are from 0 to n - 1 i.e. you need to enqueue these numbers yourselves.