Apples and Pears Leapfrog — hard Python Fundamentals problem | Incognition