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.

Sentence: 'the young man is setting in the floor with his computer ear an outlet'. Reverse all words of length '3' in the given sentence.
eht young nam is setting in eht floor with sih computer rae an outlet

Sentence: 'a young boy plays with a phone sitting on the ground'. Reverse all words of length '6' in the given sentence.
a young boy plays with a phone sitting on the dnuorg

Sentence: 'friends having a drink together in the kitchen'. Reverse all words of length '6' in the given sentence.

friends gnivah a drink together in the kitchen