You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
Under IUPAC nomenclature, a molecule named (Z)-N-methyl-7-[(1R,2R,5S)-3-oxo-5-[(4-phenylphenyl)methoxy]-2-piperidin-1-ylcyclopentyl]hept-5-enamide is given. What is its corresponding molecular formula?
user
C31H40N2O3
assistant