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 Q]: Sentence: 'a train is in a depot at the platform entry'. Reverse all words of length '2' in the given sentence.
[EX A]: a train si ni a depot ta the platform entry

[EX Q]: Sentence: 'a bicycle parked on a bridge next to a marina'. Reverse all words of length '4' in the given sentence.
[EX A]: a bicycle parked on a bridge txen to a marina

[EX Q]: Sentence: 'a girl in a car sits bored on a seat with a laptop'. Reverse all words of length '3' in the given sentence.
[EX A]:
a girl in a rac sits bored on a seat with a laptop