Problem even after odds

one test is not passing

hey @naveengupta, there is no need to sort them, you have to print in order as they are occuring.
Updated Code https://ide.codingblocks.com/s/113029