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: 'a large flock of birds fly through the sky'. Reverse all words of length '3' in the given sentence.
a large flock of birds ylf through eht yks

Sentence: 'a man is in the air riding a skateboard outside'. Reverse all words of length '2' in the given sentence.
a man si ni the air riding a skateboard outside

Sentence: 'this picture shows a tall candle with flowers painted on the glass base'. Reverse all words of length '5' in the given sentence.

this picture swohs a tall candle with flowers painted on the ssalg base