Shreyas Jain's submission of Reign | CodeChef