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 man and a dog in the water with a surfboard'. Reverse all words of length '2' in the given sentence.
[A]: a man and a dog ni the water with a surfboard


[Q]: Sentence: 'bathroom with a wall separating toilet and shower'. Reverse all words of length '1' in the given sentence.
[A]: bathroom with a wall separating toilet and shower


[Q]: Sentence: 'a group of men standing by a pole'. Reverse all words of length '4' in the given sentence.
[A]:
a group of men standing by a elop