In this task, you need to replace a letter in the sentence with another given letter.
Sentence: 'a man wearing glasses smiling in a restaurant setting'. Replace the letter 'i' with 'n' in the sentence.