You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
N-[4-[(2S)-1-[2-(1-methylpiperidin-4-yl)acetyl]-4-(naphthalene-1-carbonyl)piperazin-2-yl]butyl]acetamide is the IUPAC name of a molecule. Please give its molecular formula.
user
C29H40N4O3
assistant