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.

[Q]: Sentence: 'a passenger train moves along tracks near a field and trees'. Reverse all words of length '1' in the given sentence.
[A]: a passenger train moves along tracks near a field and trees


[Q]: Sentence: 'a small kitchen with oak cabinets and white appliances'. Reverse all words of length '10' in the given sentence.
[A]: a small kitchen with oak cabinets and white secnailppa


[Q]: Sentence: 'a boy with thumb in mouth lying sideways on a bed with book on nightstand'. Reverse all words of length '4' in the given sentence.
[A]:
a boy htiw thumb in mouth lying sideways on a bed htiw koob on nightstand