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 female tennis player is running to catch the ball'. Reverse all words of length '6' in the given sentence.
[A]: a elamef sinnet reyalp is running to catch the ball


[Q]: Sentence: 'a person riding a motorcycle on a road next to bales of straw'. Reverse all words of length '4' in the given sentence.
[A]: a person riding a motorcycle on a daor txen to bales of straw


[Q]: Sentence: 'an adorable small dog wearing sunglasses while sitting in a back seat'. Reverse all words of length '2' in the given sentence.
[A]:
na adorable small dog wearing sunglasses while sitting ni a back seat