Follow Scratch's instructions and type in 1,2 or 3 apples on each go. The aim is to leave only 1 apple left after your go.