You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
Convert the IUPAC name of a molecule 1-[(6aR,10aS)-4-[1-(5-bromopyridine-3-carbonyl)oxyethyl]-10a-methoxy-6a,8,9,10-tetrahydro-6H-indolo[4,3-fg]quinolin-7-yl]ethyl 5-bromopyridine-3-carboxylate into molecular formula.
user
C31H30Br2N4O5
assistant