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.

[EX Q]: Sentence: 'a traffic light with road instructions directs traffic'. Reverse all words of length '4' in the given sentence.
[EX A]: a traffic light htiw daor instructions directs traffic

[EX Q]: Sentence: 'young calf being bottle fed above red bucket'. Reverse all words of length '3' in the given sentence.
[EX A]: young calf being bottle def above der bucket

[EX Q]: Sentence: 'a black man wearing a pretty blue tie'. Reverse all words of length '6' in the given sentence.
[EX A]:
a black man wearing a ytterp blue tie