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.

Example Input: Sentence: 'a black cat laying on top of a couch next to a tv remote control'. Reverse all words of length '6' in the given sentence.
Example Output: a black cat gniyal on top of a couch next to a tv etomer control

Example Input: Sentence: 'a passenger train moves along tracks near a field and trees'. Reverse all words of length '1' in the given sentence.
Example Output: a passenger train moves along tracks near a field and trees

Example Input: Sentence: 'a child wearing a hat tie and white shirt smiling'. Reverse all words of length '5' in the given sentence.
Example Output:
a dlihc wearing a hat tie and etihw trihs smiling