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.

Sentence: 'a baby wearing a bib setting at a table with food on it'. Reverse all words of length '7' in the given sentence.
a baby gniraew a bib gnittes at a table with food on it

Sentence: 'a baseball player at bat and swinging the bat with other players behind him in the dugout'. Reverse all words of length '5' in the given sentence.
a baseball player at bat and swinging the bat with rehto players behind him in the dugout

Sentence: 'two young girls eating doughnuts together at a home'. Reverse all words of length '2' in the given sentence.

two young girls eating doughnuts together ta a home