• output from console doesn't match check results

Question related to mission Feed Pigeons

 

When I run Enter A Number "5" the result is "3". However the check is failing with Your Result: 2. What's the problem?