You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
For the molecule named N-methyl-6-[4-(3-methylphenyl)piperazin-1-yl]hexan-2-amine by IUPAC nomenclature, provide its molecular formula.
user
C18H31N3
assistant