Task: Program Execution
Input (English): Sentence: 'a woman and two boys are laying on a bed looking at a magazine with a dog at the foot of the bed'. Reverse all words of length '6' in the given sentence.
Output (English): a woman and two boys are gniyal on a bed looking at a magazine with a dog at the foot of the bed