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 horse standing in front of a barn'. Reverse all words of length '1' in the given sentence.
[A]: a horse standing in front of a barn


[Q]: Sentence: 'a cat stinking its tongue out beside food'. Reverse all words of length '1' in the given sentence.
[A]: a cat stinking its tongue out beside food


[Q]: Sentence: 'two giraffes a tree dirt and a hill'. Reverse all words of length '3' in the given sentence.
[A]:
owt giraffes a tree dirt dna a hill