HackerEarth Xsquare And Number List problem solution - TheCScience