You will be given a definition of a task first, then some input of the task.
In this task, you need to remove 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: 'freight train with tanker cars idle in a train yard'. Remove all words of length '1' in the given sentence.
Output:
freight train with tanker cars idle in train yard