Aman Singhal's submission of Riled | CodeChef