chandan's submission of Fun with Rotation | CodeChef