Input (grade 12): When his mother Queen Beatrix became the queen regnant of the Netherlands, prince Willem-Alexander obtained the title "Prince of Orange" as new heir to the Dutch throne.
Output (grade 7): Willem-Alexander, Prince of Orange is the Dutch crown prince and heir apparent of Queen Beatrix.