Delhi odd even problem

my test cases are not passing but i have entered so many inputs on them my code is working fine.https://ide.codingblocks.com/s/61611

plzz dont bother to reply i have seen my mistake.