You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
1-methyl-4-(2-phenyl-1-piperidin-4-ylethyl)piperazine The above is the IUPAC name of a molecule. Write its molecular formula.
user
C18H29N3
assistant