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: 'a girl with a cast on her arm stands in a bathroom'. Reverse all words of length '3' in the given sentence.
a girl with a cast on reh mra stands in a bathroom

Sentence: 'a man on a surfboard riding a wave in the ocean'. Reverse all words of length '6' in the given sentence.
a man on a surfboard gnidir a wave in the ocean

Sentence: 'a very large truck with people in back on a city street'. Reverse all words of length '6' in the given sentence.

a very large truck with elpoep in back on a city teerts