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 girl with a cast on her arm stands in a bathroom'. Reverse all words of length '3' in the given sentence.

SOLUTION: a girl with a cast on reh mra stands in a bathroom

PROBLEM: Sentence: 'pair of dogs watching television in living area of home'. Reverse all words of length '8' in the given sentence.

SOLUTION: pair of dogs gnihctaw television in living area of home

PROBLEM: Sentence: 'a bunch of cows are both sitting and standing on a pasture'. Reverse all words of length '7' in the given sentence.

SOLUTION:
a bunch of cows are both gnittis and standing on a erutsap