You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
Translate the chemical IUPAC name [8-[2-hydroxyethyl(methyl)amino]-8-oxooctyl]carbamic acid into its molecular formula.
user
C12H24N2O4
assistant