O=[N+]([O-])c1ccc(C2(O)C[N+](c3ccccc3)=C3SCCN32)cc1.[Br-]
Heavy atom refers to any atom that is not hydrogen. The heavy atoms in molecules are carbon, oxygen, nitrogen, and sulfur. How many heavy atoms are in the molecule?