You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
6-(dimethylamino)-2-[6-(2-hydroxy-5-oxo-2H-pyrrol-1-yl)hexanoylamino]hexanoic acid is the IUPAC name of a molecule. Please give its molecular formula.
user
C18H31N3O5
assistant