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 group of people loading a tour bus'. Reverse all words of length '3' in the given sentence.
Example Output: a group of people loading a tour sub

Example Input: Sentence: 'the tennis players are participating in a lively match'. Reverse all words of length '6' in the given sentence.
Example Output: the sinnet players are participating in a ylevil match

Example Input: Sentence: 'black and white photograph of a modern commuter train'. Reverse all words of length '5' in the given sentence.
Example Output:
kcalb and etihw photograph of a modern commuter niart