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.

Input: Consider Input: Sentence: 'a person in bear feet standing on a skateboard'. Reverse all words of length '4' in the given sentence.

Output: a person in raeb teef standing on a skateboard

Input: Consider Input: Sentence: 'a man leaning forward as he swings a tennis racket'. Reverse all words of length '2' in the given sentence.

Output: a man leaning forward sa eh swings a tennis racket

Input: Consider Input: Sentence: 'indian attired people on horseback lead the way for a float'. Reverse all words of length '7' in the given sentence.
Output: indian deritta people on horseback lead the way for a float