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 couple of giraffes standing in front of a metal fence'. Reverse all words of length '8' in the given sentence.
Example Output: a couple of seffarig gnidnats in front of a metal fence

Example Input: Sentence: 'ladies and mans rest rooms in a public place'. Reverse all words of length '2' in the given sentence.
Example Output: ladies and mans rest rooms ni a public place

Example Input: Sentence: 'two mean standing by their bikes that have baskets on the back used for transporting food'. Reverse all words of length '4' in the given sentence.
Example Output:
two naem standing by their bikes taht evah baskets on the kcab desu for transporting doof