HCLTech interview question

program to sort list odd number and even number