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 train billowing smoke as it crosses a river by bridge'. Reverse all words of length '1' in the given sentence.
[EX A]: a train billowing smoke as it crosses a river by bridge

[EX Q]: Sentence: 'the bathroom has a toilet a window and a sink'. Reverse all words of length '8' in the given sentence.
[EX A]: the moorhtab has a toilet a window and a sink

[EX Q]: Sentence: 'an airplane is traveling on an airport runway'. Reverse all words of length '2' in the given sentence.
[EX A]:
na airplane si traveling no na airport runway