You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
For the molecule named (4R)-4-(2-methylphenyl)-2-oxo-6-[2-oxo-2-(2-oxochromen-3-yl)ethyl]sulfanyl-3,4-dihydro-1H-pyridine-5-carbonitrile by IUPAC nomenclature, provide its molecular formula.
user
C24H18N2O4S
assistant