Task: Program Execution
Input (English): Sentence: 'a cat lying on a mat on the floor beside a pair of shoes'. Reverse all words of length '3' in the given sentence.
Output (English): a tac lying on a tam on eht floor beside a pair of shoes