In this task, you need to replace a letter in the sentence with another given letter.
Sentence: 'a man is eating a lot of hot dogs and sitting at a table'. Replace the letter 'o' with 'i' in the sentence.