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 man plays a game with a wii controller'. Reverse all words of length '1' in the given sentence.
a man plays a game with a wii controller

Sentence: 'a girl with a cast on her arm stands in a bathroom'. Reverse all words of length '3' in the given sentence.
a girl with a cast on reh mra stands in a bathroom

Sentence: 'a stop sign on an empty foggy street'. Reverse all words of length '1' in the given sentence.

a stop sign on an empty foggy street