You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
Under IUPAC nomenclature, a molecule named 2-hydroxy-1-[2-[(E)-2-[4-(4-methoxy-N-methylanilino)phenyl]ethenyl]-1,3,3-trimethylindol-1-ium-5-yl]ethanone;chloride is given. What is its corresponding molecular formula?
user
C29H31ClN2O3
assistant