You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
Translate the chemical IUPAC name 4-(3-aminoanilino)-2-(3-methoxyphenyl)sulfanyl-N-phenylpyrimidine-5-carboxamide into its molecular formula.
user
C24H21N5O2S
assistant