You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
ethyl 2-[4-bromo-2-[(Z)-[3-(naphthalen-1-ylmethyl)-2,4-dioxo-1,3-thiazolidin-5-ylidene]methyl]phenoxy]acetate is the IUPAC name of a molecule. Please give its molecular formula.
user
C25H20BrNO5S
assistant