You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
methyl 3-(2-chloropyrimidin-4-yl)-1-methylindole-4-carboxylate is the IUPAC name of a molecule. Please give its molecular formula.
user
C15H12ClN3O2
assistant