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

Ex Output:
the couple are smiling at hcae other as yeht sit on a bench


Ex Input:
Sentence: 'a laptop is sitting on a table with a bottle of coke'. Reverse all words of length '2' in the given sentence.

Ex Output:
a laptop si sitting no a table with a bottle fo coke


Ex Input:
Sentence: 'a person looks out the window of a train at an autumn lake scene'. Reverse all words of length '3' in the given sentence.

Ex Output:

a person looks tuo eht window of a train at an autumn lake scene