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 can of pepsi and cellphone on the table'. Reverse all words of length '2' in the given sentence.
[A]: a can fo pepsi and cellphone no the table


[Q]: Sentence: 'two people on a motorcycle ride towards the road'. Reverse all words of length '6' in the given sentence.
[A]: two elpoep on a motorcycle ride towards the road


[Q]: Sentence: 'a man who is on snow skis in the snow'. Reverse all words of length '3' in the given sentence.
[A]:
a nam ohw is on snow skis in eht snow