You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
(E)-2-[(4-methylpiperidin-1-yl)methyl]pent-1-ene-1-thiol is the IUPAC name of a molecule. Please give its molecular formula.
user
C12H23NS
assistant