Input (grade 5): She died at the Royal Palace of Aranjuez, on the outskirts of Madrid, Spain in 1758.
Output (grade 2): She died on 27 August 1758 in Aranjuez, Spain.