Survival and prognostic factors in surgically treated brain metastases