You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
Translate the chemical IUPAC name 1-(5-fluoropentyl)-N-naphthalen-1-ylindole-3-carboxamide into its molecular formula.
user
C24H23FN2O
assistant