You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
For the molecule named N-[2-[4-[[(5R)-2,4-dioxo-1,3-thiazolidin-5-yl]methyl]phenyl]ethyl]pyridine-3-carboxamide by IUPAC nomenclature, provide its molecular formula.
user
C18H17N3O3S
assistant