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 bear in a field next to a pond'. Reverse all words of length '5' in the given sentence.

A: a bear in a dleif next to a pond
****
Q: Sentence: 'a birthday cake cut in different pieces sitting on a tray at a table'. Reverse all words of length '1' in the given sentence.

A: a birthday cake cut in different pieces sitting on a tray at a table
****
Q: Sentence: 'face first is not the best way to surf the ocean waves'. Reverse all words of length '4' in the given sentence.

A:
ecaf first is not the tseb way to frus the ocean waves
****