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 bride and groom holding a knife to a three tier wedding cake'. Reverse all words of length '1' in the given sentence.
[EX A]: a bride and groom holding a knife to a three tier wedding cake

[EX Q]: Sentence: 'a keyboard a mouse a monitor and a brown table'. Reverse all words of length '3' in the given sentence.
[EX A]: a keyboard a mouse a monitor dna a brown table

[EX Q]: Sentence: 'a lady is sitting on steps of a house while talking on her phone'. Reverse all words of length '7' in the given sentence.
[EX A]:
a lady is gnittis on steps of a house while gniklat on her phone