You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
What is the molecular formula of the compound with this IUPAC name 2-(4-chlorophenoxy)-1-[4-(7-methyl-1H-indol-3-yl)-3,6-dihydro-2H-pyridin-1-yl]ethanone ?
user
C22H21ClN2O2
assistant