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 man walking in the shore with a surfboard under his arm'. Reverse all words of length '3' in the given sentence.
Example Output: a nam walking in eht shore with a surfboard under sih mra

Example Input: Sentence: 'a dog is catching a frisbee at a competition'. Reverse all words of length '11' in the given sentence.
Example Output: a dog is catching a frisbee at a noititepmoc

Example Input: Sentence: 'giraffe looking tired as it sticks its neck out through the fence'. Reverse all words of length '5' in the given sentence.
Example Output:
giraffe looking derit as it sticks its neck out through the ecnef