You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
2-amino-4-(2-chloroquinolin-3-yl)-5-oxo-1-pyridin-3-yl-4,6,7,8-tetrahydroquinoline-3-carbonitrile The above is the IUPAC name of a molecule. Write its molecular formula.
user
C24H18ClN5O
assistant