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.

[Q]: Sentence: 'a messy bedroom with items covering the floor'. Reverse all words of length '8' in the given sentence.
[A]: a messy bedroom with items gnirevoc the floor


[Q]: Sentence: 'a child on bench sticking out her tongue'. Reverse all words of length '6' in the given sentence.
[A]: a child on bench sticking out her eugnot


[Q]: Sentence: 'a pizza sitting in a window with many different other pizzas around it'. Reverse all words of length '6' in the given sentence.
[A]:
a pizza sitting in a wodniw with many different other sazzip dnuora it