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 cat sleeping with is hear resting on a keyboard'. Reverse all words of length '4' in the given sentence.
Example Output: a cat sleeping htiw is raeh resting on a keyboard

Example Input: Sentence: 'a man on a surfboard riding a wave in the ocean'. Reverse all words of length '6' in the given sentence.
Example Output: a man on a surfboard gnidir a wave in the ocean

Example Input: Sentence: 'young person on a surfboard in the dark'. Reverse all words of length '1' in the given sentence.
Example Output:
young person on a surfboard in the dark