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 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: 'a person is sitting at a table with pizza on it'. Reverse all words of length '2' in the given sentence.

A:
a person si sitting ta a table with pizza no ti
****