You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
4-(3,6-dihydro-2H-pyridin-1-yl)-2-nitrobenzoic acid The above is the IUPAC name of a molecule. Write its molecular formula.
user
C12H12N2O4
assistant