You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
Under IUPAC nomenclature, a molecule named 5-bromo-N-[4-methyl-3-[[4-(methylamino)quinazolin-8-yl]methylamino]phenyl]thiophene-2-carboxamide is given. What is its corresponding molecular formula?
user
C22H20BrN5OS
assistant