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 small bird sitting on the rim of a fountain'. Reverse all words of length '7' in the given sentence.

A: a small bird gnittis on the rim of a fountain
****
Q: Sentence: 'a tennis player is holding a tennis racket with the crowd in the background'. Reverse all words of length '3' in the given sentence.

A: a tennis player is holding a tennis racket with eht crowd in eht background
****
Q: Sentence: 'we are looking past a kitchen up a long hall way'. Reverse all words of length '3' in the given sentence.

A:
we era looking past a kitchen up a long hall yaw
****