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 view of a kitchen with a person cooking some food'. Reverse all words of length '1' in the given sentence.
[A]: a view of a kitchen with a person cooking some food


[Q]: Sentence: 'yachts are all tied up in a marina dock'. Reverse all words of length '3' in the given sentence.
[A]: yachts era lla tied up in a marina dock


[Q]: Sentence: 'a young man on a half pipe doing a trick on a skateboard'. Reverse all words of length '4' in the given sentence.
[A]:
a young man on a flah epip doing a trick on a skateboard