The code works but requirements are not satisfied about writing to even and odd.Can some one help?