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: 'a keyboard a mouse a monitor and a brown table'. Reverse all words of length '3' in the given sentence.
[EX A]: a keyboard a mouse a monitor dna a brown table

[EX Q]: Sentence: 'three people in a dog carrying items walking along the beach'. Reverse all words of length '7' in the given sentence.
[EX A]: three people in a dog carrying items gniklaw along the beach

[EX Q]: Sentence: 'a dog attacking a water bottle out side'. Reverse all words of length '9' in the given sentence.
[EX A]:
a dog gnikcatta a water bottle out side