Efficiency problem 3 | ScratchStats