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 woman checks upon a baby in a bed'. Reverse all words of length '1' in the given sentence.
[EX A]: a woman checks upon a baby in a bed

[EX Q]: Sentence: 'three people with backpacks on skies moving up a hill'. Reverse all words of length '9' in the given sentence.
[EX A]: three people with skcapkcab on skies moving up a hill

[EX Q]: Sentence: 'a wooden shelf with two items on top near a wall'. Reverse all words of length '2' in the given sentence.
[EX A]:
a wooden shelf with two items no top near a wall