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 black and white image of a wall with a stop sign on it'. Reverse all words of length '5' in the given sentence.
[A]: a kcalb and etihw egami of a wall with a stop sign on it

[Q]: Sentence: 'a river filled with lots of boats and surrounded by buildings'. Reverse all words of length '4' in the given sentence.
[A]: a river filled htiw stol of boats and surrounded by buildings

[Q]: Sentence: 'a large blue passenger train pulling into a train station'. Reverse all words of length '9' in the given sentence.
[A]:
a large blue regnessap train pulling into a train station