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: 'two hot dogs surrounded with bacon and cheese'. Reverse all words of length '6' in the given sentence.

A: two hot dogs surrounded with bacon and eseehc
****
Q: Sentence: 'a small white dog with a hat on his rear end'. Reverse all words of length '3' in the given sentence.

A: a small white god with a tah on sih rear dne
****
Q: Sentence: 'a view of the city with a red bus in the center surrounded by civilians'. Reverse all words of length '6' in the given sentence.

A:
a view of the city with a red bus in the retnec surrounded by civilians
****