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 large long train on a steel track'. Reverse all words of length '2' in the given sentence.
a large long train no a steel track

Sentence: 'a person holding a yummy looking hot dog'. Reverse all words of length '7' in the given sentence.
a person gnidloh a yummy gnikool hot dog

Sentence: 'a cup full of many different types of pencils'. Reverse all words of length '4' in the given sentence.

a cup lluf of ynam different types of pencils