Task: Program Execution
Input (English): Sentence: 'a herd of horses is exercised in the yard led by a man on horseback'. Reverse all words of length '6' in the given sentence.
Output (English): a herd of sesroh is exercised in the yard led by a man on horseback