Domanda di colloquio di Technicolor

Write a program to enter these no in queue and print them