You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
Translate the chemical IUPAC name N-(6-oxoheptyl)naphthalene-2-carboxamide into its molecular formula.
user
C18H21NO2
assistant