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 cat is sitting near an orange wall and orange planter'. Reverse all words of length '7' in the given sentence.
[A]: a cat is gnittis near an orange wall and orange retnalp


[Q]: Sentence: 'a man and woman having fun with their electronic devices'. Reverse all words of length '3' in the given sentence.
[A]:
a nam dna woman having nuf with their electronic devices