Delhi odd even problem

why my code not passing test case?

Ajay share ur code so that we can debug it