In this task, you need to replace a letter in the sentence with another given letter.
Sentence: 'a seagull is flying with wings spread in front of a blue sky and blue watered beach'. Replace the letter 'i' with 'p' in the sentence.