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

Sentence: 'a dog wearing a hat on top of it's head'. Replace the letter 'g' with 'o' in the sentence.
a doo wearino a hat on top of it's head

Sentence: 'a group of men and women sitting next to each other'. Replace the letter 'p' with 'l' in the sentence.
a groul of men and women sitting next to each other

Sentence: 'a brown dog and a white dog are lying down on rumpled sheets'. Replace the letter 'n' with 'c' in the sentence.

a browc dog acd a white dog are lyicg dowc oc rumpled sheets