In this task, you need to reverse all words of a given length in the sentence. The number of letters in a word determine its length. For example, the length of the word "apple" is 5.

[EX Q]: Sentence: 'several people enjoying various activities at the beach'. Reverse all words of length '10' in the given sentence.
[EX A]: several people enjoying various seitivitca at the beach

[EX Q]: Sentence: 'a dog curled up sleeping on a bed with pillows'. Reverse all words of length '6' in the given sentence.
[EX A]: a dog delruc up sleeping on a bed with pillows

[EX Q]: Sentence: 'a brown wooden table filled with lots of people sitting at it'. Reverse all words of length '6' in the given sentence.
[EX A]:
a brown nedoow table dellif with lots of elpoep sitting at it