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: 'pair of dogs watching television in living area of home'. Reverse all words of length '8' in the given sentence.
Example Output: pair of dogs gnihctaw television in living area of home

Example Input: Sentence: 'man riding a skateboard at the top of a ramp while others watch'. Reverse all words of length '6' in the given sentence.
Example Output: man gnidir a skateboard at the top of a ramp while srehto watch

Example Input: Sentence: 'the man holds a pig foot next to his mouth'. Reverse all words of length '1' in the given sentence.
Example Output:
the man holds a pig foot next to his mouth