https://medium.com/@deck451/codility-algorithm-practice-lesson-4-counting-elements-task-3-max-counters-a-python-approach-3bf3771b51b2