You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
2-(5-bromo-2-methyl-1H-indol-3-yl)propanoic acid is the IUPAC name of a molecule. Please give its molecular formula.
user
C12H12BrNO2
assistant