You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
2-amino-4-[4-methoxy-3-(phenoxymethyl)phenyl]-7,7-dimethyl-5-oxo-1-pyridin-1-ium-3-yl-6,8-dihydro-4H-quinoline-3-carbonitrile The above is the IUPAC name of a molecule. Write its molecular formula.
user
C31H31N4O3+
assistant