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: 'the couple are smiling at each other as they sit on a bench'. Reverse all words of length '4' in the given sentence.
[A]: the couple are smiling at hcae other as yeht sit on a bench


[Q]: Sentence: 'an old traditional pirate ship in modern city'. Reverse all words of length '3' in the given sentence.
[A]: an dlo traditional pirate ship in modern city


[Q]: Sentence: 'a newly married couple cutting their wedding cake'. Reverse all words of length '6' in the given sentence.
[A]:
a newly married elpuoc cutting their wedding cake