Santosh Betha's submission of Algorithm Challenge | CodeChef