You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
(2S)-3-(4-methoxyphenyl)-1'-methylspiro[1,3-thiazolidine-2,3'-indole]-2',4-dione is the IUPAC name of a molecule. Please give its molecular formula.
user
C18H16N2O3S
assistant