You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
(2Z,4Z)-2-(5-bromo-1H-indol-3-yl)-5-(5-chloro-1H-indol-3-yl)-3-[4-[2-(dimethylamino)ethylsulfanyl]pyridin-3-yl]-4-(4-methoxypyridin-3-yl)hexa-2,4-dienedinitrile is the IUPAC name of a molecule. Please give its molecular formula.
user
C37H29BrClN7OS
assistant