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 beach chair and sandals in the sand'. Reverse all words of length '2' in the given sentence.
[EX A]: a beach chair and sandals ni the sand

[EX Q]: Sentence: 'a woman is riding a show horse at a competition'. Reverse all words of length '6' in the given sentence.
[EX A]: a woman is gnidir a show horse at a competition

[EX Q]: Sentence: 'a group of people flying kites on a sandy beach'. Reverse all words of length '2' in the given sentence.
[EX A]:
a group fo people flying kites no a sandy beach