Task: Program Execution
Input (English): Sentence: 'three people ride horses along the beach while a dog follows'. Reverse all words of length '1' in the given sentence.
Output (English): three people ride horses along the beach while a dog follows