In this task, you need to replace a letter in the sentence with another given letter.

Input: Consider Input: Sentence: 'a man with scruffy hair wearing a tie and glasses'. Replace the letter 'r' with 'f' in the sentence.

Output: a man with scfuffy haif weafing a tie and glasses

Input: Consider Input: Sentence: 'a man is on a bed with a cat and laptop computer'. Replace the letter 'e' with 'n' in the sentence.

Output: a man is on a bnd with a cat and laptop computnr

Input: Consider Input: Sentence: 'a herd of sheep standing on a grassy hillside'. Replace the letter 'l' with 'p' in the sentence.
Output: a herd of sheep standing on a grassy hippside