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 4-bromo-2-[4-[[(3S)-pyrrolidin-3-yl]amino]quinazolin-2-yl]phenol using the IUPAC nomenclature.
user
C18H17BrN4O
assistant