You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
For the molecule named N-[2-(5-bromopyridin-3-yl)-1-(5,6-dihydro-4H-cyclopenta[b]thiophen-2-yl)ethyl]propan-1-amine by IUPAC nomenclature, provide its molecular formula.
user
C17H21BrN2S
assistant