slightly harder version of https://scratch.mit.edu/projects/649992537/ | ScratchStats