You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
Under IUPAC nomenclature, a molecule named (3S)-1-(2,4-dimethoxyphenyl)-3-[4-[(3-methylphenyl)methyl]piperazine-1,4-diium-1-yl]pyrrolidine-2,5-dione is given. What is its corresponding molecular formula?
user
C24H31N3O4+2
assistant