HackerEarth Dexter and Points problem solution - TheCScience