Sarah had 8w pomegranates. She bought another 7 pomegranates and received 2w pomegranates from her friends. Sarah's brothers then ate half of the remaining pomegranates. How many pomegranates had she left? Give your answer in terms of w in the simplest form.