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 person on a surfboard riding a wave in the water'. Reverse all words of length '5' in the given sentence.
[EX A]: a person on a surfboard riding a wave in the retaw

[EX Q]: Sentence: 'three people in a dog carrying items walking along the beach'. Reverse all words of length '7' in the given sentence.
[EX A]: three people in a dog carrying items gniklaw along the beach

[EX Q]: Sentence: 'a green bus stands on a speed bump while mountains are seen in the background'. Reverse all words of length '5' in the given sentence.
[EX A]:
a neerg bus stands on a deeps bump elihw mountains are seen in the background