Input (grade 9): Mary died at Kensington Palace shortly after midnight on the morning of 28 December.
Output (grade 6): Mary died of smallpox at Kensington Palace on 28 December 1694.