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

Sentence: 'a child is smiling for the camera while outside'. Reverse all words of length '1' in the given sentence.
a child is smiling for the camera while outside

Sentence: 'park police sit side by side on their horses with a person nearby'. Reverse all words of length '5' in the given sentence.

park police sit side by side on rieht horses with a person nearby