You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
Translate the chemical IUPAC name dimethyl 4-ethenyl-4,7-dimethyl-1,3-dihydronaphthalene-2,2-dicarboxylate into its molecular formula.
user
C18H22O4
assistant