MathPup Math AdventureGet MathPup to the exit in each level. Have MathPup fetch numbers in the correct order to fill…