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 photo of a glass of wine an apple and a banana'. Reverse all words of length '2' in the given sentence.
[EX A]: a photo fo a glass fo wine na apple and a banana

[EX Q]: Sentence: 'pictures a candle a single flower and a stuffed bear on a table'. Reverse all words of length '6' in the given sentence.
[EX A]: pictures a eldnac a elgnis rewolf and a stuffed bear on a table

[EX Q]: Sentence: 'girl learning to surf on a board in the ocean'. Reverse all words of length '1' in the given sentence.
[EX A]:
girl learning to surf on a board in the ocean