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 man that is sitting in a field with a phone'. Reverse all words of length '4' in the given sentence.

Ex Output:
a man taht is sitting in a field htiw a phone


Ex Input:
Sentence: 'there is a large black bear that is siting on a rock'. Reverse all words of length '5' in the given sentence.

Ex Output:
ereht is a egral kcalb bear that is siting on a rock


Ex Input:
Sentence: 'the man in the purple shirt has colored facial hair'. Reverse all words of length '6' in the given sentence.

Ex Output:

the man in the elprup shirt has colored laicaf hair