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 beach chair and sandals in the sand'. Reverse all words of length '2' in the given sentence.
[EX A]: a beach chair and sandals ni the sand

[EX Q]: Sentence: 'an orange on a counter next to a bottle of alcohol'. Reverse all words of length '7' in the given sentence.
[EX A]: an orange on a retnuoc next to a bottle of lohocla

[EX Q]: Sentence: 'a guy in a yellow shirt holds a white frisbee away from a guy dressed in black'. Reverse all words of length '4' in the given sentence.
[EX A]:
a guy in a yellow shirt holds a white frisbee yawa morf a guy dressed in black