In this task, you need to replace a letter in the sentence with another given letter.
Sentence: 'a yellow and green train sitting idle on the railroad track'. Replace the letter 'r' with 'i' in the sentence.