HackerEarth The Best Player problem solution - TheCScience