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

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

Sentence: 'a man in black shirt laying on bed with a teddy bear'. Replace the letter 'd' with 'b' in the sentence.
a man in black shirt laying on beb with a tebby bear

Sentence: 'the batter swings with a weight on his bat when he's the next batter up'. Replace the letter 'b' with 'y' in the sentence.

the yatter swings with a weight on his yat when he's the next yatter up