In this task, you need to replace a letter in the sentence with another given letter.
Sentence: 'a shore is littered with a few birds as the ocean sits in the distance'. Replace the letter 'n' with 'i' in the sentence.