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 baseball player at bat and swinging the bat with other players behind him in the dugout'. Reverse all words of length '5' in the given sentence.
[EX A]: a baseball player at bat and swinging the bat with rehto players behind him in the dugout

[EX Q]: Sentence: 'a pizza that has jalapenos on one side and olives on the other'. Reverse all words of length '3' in the given sentence.
[EX A]: a pizza that sah jalapenos on eno side dna olives on eht other

[EX Q]: Sentence: 'two women are enjoying their pizza at lunch'. Reverse all words of length '5' in the given sentence.
[EX A]:
two nemow are enjoying rieht azzip at hcnul