Task: Program Execution
Input (English): Sentence: 'a dog walking next to a herd of sheep on a field'. Reverse all words of length '2' in the given sentence.
Output (English): a dog walking next ot a herd fo sheep no a field