You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
Translate the chemical IUPAC name 4-[3-(anthracen-1-ylamino)-2-methylprop-1-enyl]benzoic acid into its molecular formula.
user
C25H21NO2
assistant