You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
Convert the IUPAC name of a molecule 3-[2-(4-phenyl-3,6-dihydro-2H-pyridin-1-yl)ethylsulfanylmethyl]-1H-indole-5-carbonitrile into molecular formula.
user
C23H23N3S
assistant