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 man skateboards in a park for skateboarding'. Reverse all words of length '2' in the given sentence.
[EX A]: a man skateboards ni a park for skateboarding

[EX Q]: Sentence: 'a man that is sitting in a field with a phone'. Reverse all words of length '4' in the given sentence.
[EX A]: a man taht is sitting in a field htiw a phone

[EX Q]: Sentence: 'the boy is riding his skateboard with a jacket on'. Reverse all words of length '6' in the given sentence.
[EX A]:
the boy is gnidir his skateboard with a tekcaj on