Task: Program Execution
Input (English): Sentence: 'a bedroom with a picture hanging over the bed'. Replace the letter 'd' with 'g' in the sentence.
Output (English): a begroom with a picture hanging over the beg