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 Input:
Sentence: 'a body of water with some bears inside of it'. Reverse all words of length '2' in the given sentence.

Ex Output:
a body fo water with some bears inside fo ti


Ex Input:
Sentence: 'an elephant is standing in the road by the truck'. Reverse all words of length '5' in the given sentence.

Ex Output:
an elephant is standing in the road by the kcurt


Ex Input:
Sentence: 'hot dogs in buns sit on a table along with beverages'. Reverse all words of length '2' in the given sentence.

Ex Output:

hot dogs ni buns sit no a table along with beverages