You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
Convert the IUPAC name of a molecule N,N,6-trimethyl-5-[4-(3-methylpyridin-4-yl)but-3-en-2-yl]-19-oxapentacyclo[14.2.1.01,9.02,6.011,16]nonadeca-9,11-dien-14-amine into molecular formula.
user
C31H42N2O
assistant