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 person holding a yummy looking hot dog'. Reverse all words of length '7' in the given sentence.
[A]: a person gnidloh a yummy gnikool hot dog


[Q]: Sentence: 'a man in a blue shirt is playing tennis'. Reverse all words of length '3' in the given sentence.
[A]: a nam in a blue shirt is playing tennis


[Q]: Sentence: 'a batter swings at a ball in front of a large crowd'. Reverse all words of length '2' in the given sentence.
[A]:
a batter swings ta a ball ni front fo a large crowd