You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
N-(3-chlorophenyl)-2-[[(4R)-3-cyano-5-oxo-4-thiophen-2-yl-4,6,7,8-tetrahydro-1H-quinolin-2-yl]sulfanyl]acetamide The above is the IUPAC name of a molecule. Write its molecular formula.
user
C22H18ClN3O2S2
assistant