logical exercise | ScratchStats