In this task, you need to replace a letter in the sentence with another given letter.
Sentence: 'a herd of elephants gather in a place with many trees'. Replace the letter 'p' with 'k' in the sentence.