You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
Under IUPAC nomenclature, a molecule named 4-[(8aS)-5,5,8a-trimethyl-2-[4-(4-methylpiperazin-1-yl)benzoyl]-3,8-dihydro-1H-isoquinolin-6-yl]benzoic acid is given. What is its corresponding molecular formula?
user
C31H37N3O3
assistant