Input (grade 10): the main character, Hareta, gained a Riolu egg which hatched into a Riolu later on in that chapter and then evolved into Lucario.
Output (grade 10): the main character, Hareta, gained a Riolu egg which hatched into a Riolu later on in that chapter and then evolved in to Lucario.