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 cat in a bathroom sitting on a toilet'. Reverse all words of length '3' in the given sentence.
[A]: a tac in a bathroom sitting on a toilet


[Q]: Sentence: 'a person going on a slop jump on skis'. Reverse all words of length '6' in the given sentence.
[A]: a nosrep going on a slop jump on skis


[Q]: Sentence: 'a banana and a orange on a table'. Reverse all words of length '5' in the given sentence.
[A]:
a banana and a orange on a elbat