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.
Example: Sentence: 'as a guy jumps over the snow with his snowboard people riding on the lift behind him look on'. Reverse all words of length '6' in the given sentence.
Example solution: as a guy jumps over the snow with his snowboard elpoep gnidir on the lift dniheb him look on
Example explanation: Words 'people', 'riding', 'behind' are of length 6. Reversing these words results in 'elpoep', 'gnidir', and 'dniheb' respectively. So this is a correct answer.

Problem: Sentence: 'a mattress is laying on the floor of a kitchen'. Reverse all words of length '2' in the given sentence.

Solution: a mattress si laying no the floor fo a kitchen