Task: Program Execution
Input (English): Sentence: 'a man rests his chin on his hand while lying on a bed beside a dog'. Replace the letter 'a' with 'n' in the sentence.
Output (English): n mnn rests his chin on his hnnd while lying on n bed beside n dog