Task: Program Execution
Input (English): Sentence: 'a wood frame bed with a small mattress and pillow'. Reverse all words of length '3' in the given sentence.
Output (English): a wood frame deb with a small mattress dna pillow