The correct way to write the title in the sentence is C: The gift of the Magi.
In this option, "Magi" is capitalized correctly as it refers to a specific group, while "gift" and "of" remain in lowercase. However, the most formal approach would be to italicize the title as well: The Gift of the Magi. But given the options provided, C is the best choice.