You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
Translate the chemical IUPAC name 1-[4-(4-methoxybenzoyl)piperazin-1-yl]-2-naphthalen-2-yloxyethanone into its molecular formula.
user
C24H24N2O4
assistant