Question d’entretien chez Technicolor

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