Input (grade 7): Manama was mentioned in Islamic chronicles at least as far back as 1345.
Output (grade 6): Manama has been a city since at least the 1300s, when it was mentioned in Islamic books.