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: 'people flying kites at the beach on an overcast day'. Reverse all words of length '6' in the given sentence.
[EX A]: elpoep gniylf kites at the beach on an overcast day

[EX Q]: Sentence: 'a dog is sleeping on a boat in the water'. Reverse all words of length '2' in the given sentence.
[EX A]: a dog si sleeping no a boat ni the water

[EX Q]: Sentence: 'the fruit salad is on the table ready to be eaten'. Reverse all words of length '2' in the given sentence.
[EX A]:
the fruit salad si no the table ready ot eb eaten