You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
For the molecule named N-[2-[(2R)-2-[5-[(3S)-3-aminopyrrolidin-1-yl]-6-methylpyrazolo[1,5-a]pyrimidin-2-yl]piperidine-1-carbonyl]phenyl]methanesulfonamide by IUPAC nomenclature, provide its molecular formula.
user
C24H31N7O3S
assistant