You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
1-[4-(4-methoxyphenyl)piperazin-1-yl]-2-[methyl(naphthalen-1-yl)amino]ethanone is the IUPAC name of a molecule. Please give its molecular formula.
user
C24H27N3O2
assistant