Input (grade 6): Preceding it was the Einin era, and following it was the Kengen era.
Output (grade 6): ShÅ an was a Japanese era after Einin and before Kengen.