You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
For the molecule named 2-(9,10-dihydroanthracen-9-ylamino)-N-methylacetamide by IUPAC nomenclature, provide its molecular formula.
user
C17H18N2O
assistant