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 giraffe standing next to a leafy tree'. Reverse all words of length '1' in the given sentence.
[EX A]: a giraffe standing next to a leafy tree

[EX Q]: Sentence: 'a room with an open suitcase on the floor and clothes strewn about'. Reverse all words of length '2' in the given sentence.
[EX A]: a room with na open suitcase no the floor and clothes strewn about

[EX Q]: Sentence: 'a wood frame bed with a small mattress and pillow'. Reverse all words of length '3' in the given sentence.
[EX A]:
a wood frame deb with a small mattress dna pillow