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 male in a white shirt is surfing in some dirt'. Reverse all words of length '2' in the given sentence.
a male ni a white shirt si surfing ni some dirt

Sentence: 'an openair tour bus driving in a city'. Reverse all words of length '7' in the given sentence.
an rianepo tour bus gnivird in a city

Sentence: 'this is a highway with a lot of cars and a sign'. Reverse all words of length '4' in the given sentence.

siht is a highway htiw a lot of srac and a ngis