In this task, you need to replace a letter in the sentence with another given letter.
Sentence: 'two people are sitting on a shore eating while boats pass by'. Replace the letter 'r' with 'p' in the sentence.