I got correct output from the code but I'm failing to pass second requirement. Has anyone got any idea why's that?