You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
N-cyclopentyl-2-(4-methylpiperidine-1-carbonyl)-4,5,6,7-tetrahydro-1-benzothiophene-5-carboxamide The above is the IUPAC name of a molecule. Write its molecular formula.
user
C21H30N2O2S
assistant