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 city truck two city buses and a yellow fire hydrant'. Reverse all words of length '4' in the given sentence.
[A]: a ytic truck two ytic buses and a yellow erif hydrant


[Q]: Sentence: 'a man plays a game with a wii controller'. Reverse all words of length '1' in the given sentence.
[A]: a man plays a game with a wii controller


[Q]: Sentence: 'half naked group wearing headlamps and brushing their teeth'. Reverse all words of length '7' in the given sentence.
[A]:
half naked group gniraew headlamps and brushing their teeth