Need help with failed testcases?

For the problem, I am getting WA for this, while for this I am getting AC. Can someone tell me about failed test cases on the previous one?

Your code should output odd positive integer, in the previous case it is giving even number and that’s why you got failed test case.