In this task, you need to replace a letter in the sentence with another given letter.
Sentence: 'a young infant boy in bed is leaning towards an electronic device to adjust it'. Replace the letter 'e' with 'f' in the sentence.