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.

Sentence: 'a dog wearing a wooden tie sitting in its masters lap'. Reverse all words of length '1' in the given sentence.
a dog wearing a wooden tie sitting in its masters lap

Sentence: 'a backyard with a chair covered in snow'. Reverse all words of length '4' in the given sentence.
a backyard htiw a chair covered in wons

Sentence: 'a woman on the ocean standing on a board with an oar'. Reverse all words of length '4' in the given sentence.

a woman on the ocean standing on a board htiw an oar