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: 'there is a group of people standing on the beach'. Reverse all words of length '8' in the given sentence.
[EX A]: there is a group of people gnidnats on the beach

[EX Q]: Sentence: 'a couple of beds pushed together inside of a hospital'. Reverse all words of length '6' in the given sentence.
[EX A]: a elpuoc of beds dehsup together edisni of a hospital

[EX Q]: Sentence: 'a red bus parked at a bus stop on the side of a road'. Reverse all words of length '6' in the given sentence.
[EX A]:
a red bus dekrap at a bus stop on the side of a road