You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
Convert the IUPAC name of a molecule 2-(4-cyanophenyl)-5-[4-(3,4-dichlorophenyl)-1,3-thiazol-2-yl]benzoic acid;methyl 2-bromo-5-[4-(3,4-dichlorophenyl)-1,3-thiazol-2-yl]benzoate into molecular formula.
user
C40H22BrCl4N3O4S2
assistant