In this task, you need to replace a letter in the sentence with another given letter.
Sentence: 'a man reading a newspaper while on a train next to bicycles'. Replace the letter 'i' with 'y' in the sentence.