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


[Q]: Sentence: 'a girl in a wig holding a tennis racket'. Reverse all words of length '3' in the given sentence.
[A]: a girl in a giw holding a tennis racket


[Q]: Sentence: 'a man riding a motorcycle across a sandy beach'. Reverse all words of length '1' in the given sentence.
[A]:
a man riding a motorcycle across a sandy beach