You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
For the molecule named ethyl (7R)-7-(3-bromo-4-methoxyphenyl)-2-[2-(4-bromophenyl)-2-oxoethyl]sulfanyl-5-methyl-4,7-dihydro-[1,2,4]triazolo[1,5-a]pyrimidine-6-carboxylate by IUPAC nomenclature, provide its molecular formula.
user
C24H22Br2N4O4S
assistant