Akash Jain's submission of So Many Ways | CodeChef