Definition: In this task, you need to reverse the order of words in the given sentence.
Input: Sentence: a motorcycle is parked on a beach near a lighthouse

lighthouse a near beach a on parked is motorcycle a