You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
For the molecule named (1R)-1-[(3,4-dichlorophenyl)methyl]-2-[4-(4-methylpiperazin-1-yl)piperidin-1-yl]-4-(2-oxo-1,4-dihydrothieno[3,4-d]pyrimidin-3-yl)-2-(2-oxoethyl)piperidin-1-ium-1-carboxylate by IUPAC nomenclature, provide its molecular formula.
user
C31H40Cl2N6O4S
assistant