COC(=O)CCC(=O)OC1(C)C(=O)C2=CN(CCN3CCOCC3)C(c3ccc(OC)cc3)=CC2=C(Br)C1=O
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?