Santosh Betha's submission of Riled | CodeChef