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.

Sentence: 'two small children and childrens books on a blue carpeted floor'. Reverse all words of length '1' in the given sentence.
two small children and childrens books on a blue carpeted floor

Sentence: 'a train billowing smoke as it crosses a river by bridge'. Reverse all words of length '1' in the given sentence.
a train billowing smoke as it crosses a river by bridge

Sentence: 'a very long sub sitting on a table that is too small for it'. Reverse all words of length '3' in the given sentence.

a very long bus sitting on a table that is oot small rof it