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

Input: Consider Input: Sentence: 'a man wearing a hat has his cell phone to his ear'. Replace the letter 'g' with 'w' in the sentence.

Output: a man wearinw a hat has his cell phone to his ear

Input: Consider Input: Sentence: 'there is a purse on the floor with its contents spilled out'. Replace the letter 'd' with 'v' in the sentence.

Output: there is a purse on the floor with its contents spillev out

Input: Consider Input: Sentence: 'a cow on a rocky road next to a dog'. Replace the letter 'o' with 'r' in the sentence.
Output: a crw rn a rrcky rrad next tr a drg