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 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: 'this is people standing in a field with kites'. Reverse all words of length '8' in the given sentence.
[EX A]: this is people gnidnats in a field with kites

[EX Q]: Sentence: 'a banana some peaches a pear and an orange on a platter'. Reverse all words of length '7' in the given sentence.
[EX A]:
a banana some sehcaep a pear and an orange on a rettalp