The output is correct, not sure why this is not passing the last condition. Any help???