You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
For the molecule named 9-(1,3-dimethylimidazol-1-ium-2-yl)-1-methylcarbazole;ethane by IUPAC nomenclature, provide its molecular formula.
user
C22H30N3+
assistant