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: 'several people flying kites on a sandy beach'. Reverse all words of length '7' in the given sentence.
[EX A]: lareves people flying kites on a sandy beach

[EX Q]: Sentence: 'this railway is lit up very well this evening'. Reverse all words of length '2' in the given sentence.
[EX A]: this railway si lit pu very well this evening

[EX Q]: Sentence: 'a man with a hat riding on a giraffe carving'. Reverse all words of length '2' in the given sentence.
[EX A]:
a man with a hat riding no a giraffe carving