ram's answers

Just realised that I read the task as more complex than it was. This solution will actually reverse the content on the line also.