In this task, you need to replace a letter in the sentence with another given letter.
Sentence: 'an orange and green fire hydrant with a cap sitting on it'. Replace the letter 'g' with 'r' in the sentence.