You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
Convert the IUPAC name of a molecule 6-(3-chlorophenyl)-N-[2-(dimethylamino)ethyl]phenanthridine-4-carboxamide into molecular formula.
user
C24H22ClN3O
assistant