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: 'the three trains are stopped on the railroad tracks'. Reverse all words of length '6' in the given sentence.

A: the three sniart are stopped on the railroad skcart
****
Q: Sentence: 'a very small shiny metal cup with some food in it'. Reverse all words of length '4' in the given sentence.

A: a yrev small shiny metal cup htiw emos doof in it
****
Q: Sentence: 'a kitchen has white cabinets and a white microwave'. Reverse all words of length '7' in the given sentence.

A:
a nehctik has white cabinets and a white microwave
****