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 toilet and a sink in small bathroom'. Reverse all words of length '2' in the given sentence.
[A]: a toilet and a sink ni small bathroom


[Q]: Sentence: 'a male cow walking down a street with shanties'. Reverse all words of length '7' in the given sentence.
[A]: a male cow gniklaw down a street with shanties


[Q]: Sentence: 'a ice cream cake with marshmellows and chocolate for a 3 year birthday'. Reverse all words of length '3' in the given sentence.
[A]:
a eci cream cake with marshmellows dna chocolate rof a 3 year birthday