HackerEarth Sam Height HSBC problem solution - TheCScience