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.

[EX Q]: Sentence: 'a group of people riding in a black raft'. Reverse all words of length '1' in the given sentence.
[EX A]: a group of people riding in a black raft

[EX Q]: Sentence: 'an old chair with telephone books on it in a room with guitars and a tv'. Reverse all words of length '7' in the given sentence.
[EX A]: an old chair with telephone books on it in a room with sratiug and a tv

[EX Q]: Sentence: 'a man with a baseball bat in front of a man with a glove'. Reverse all words of length '2' in the given sentence.
[EX A]:
a man with a baseball bat ni front fo a man with a glove