You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
Name the molecular formula for the molecule established as 5,6-dibromo-N-[2-(4-methoxyphenoxy)ethyl]-1H-indole-3-carboxamide using the IUPAC nomenclature.
user
C18H16Br2N2O3
assistant