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

SOLUTION: a man taht is sitting in a field htiw a phone

PROBLEM: Sentence: 'an old traditional pirate ship in modern city'. Reverse all words of length '3' in the given sentence.

SOLUTION: an dlo traditional pirate ship in modern city

PROBLEM: Sentence: 'beach scene two blue chairs with yellow umbrella slight overcast blue sky and greenblue ocean'. Reverse all words of length '3' in the given sentence.

SOLUTION:
beach scene owt blue chairs with yellow umbrella slight overcast blue yks dna greenblue ocean