Input (grade 6): They were buried under the names Anastasia and Maria Nikolaevna.
Output (grade 5): They were buried with the names Anastasia and Maria Nikolaevna.