You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
Convert the IUPAC name of a molecule 1-(4-methylphenyl)-N-[2-(1-methylpiperidin-4-yl)ethyl]propan-1-amine into molecular formula.
user
C18H30N2
assistant