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: '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: 'a snowy hill with a tree lined area'. Reverse all words of length '4' in the given sentence.

SOLUTION: a snowy llih htiw a eert lined aera

PROBLEM: Sentence: 'a full view of a big room in a building'. Reverse all words of length '4' in the given sentence.

SOLUTION:
a lluf weiv of a big moor in a building