David's submission of Rotate the Polyline | CodeChef