You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
2-(4-methoxyphenyl)-4-(5-piperazin-1-ylpentyl)-1,4-benzoxazin-3-one The above is the IUPAC name of a molecule. Write its molecular formula.
user
C24H31N3O3
assistant