vector<int> solution(vector<int> arr) {
vector<int> answer = arr;
int nMin = *min_element(arr.begin(), arr.end());
int pos = find(answer.begin(), answer.end(), nMin) - answer.begin();
answer.erase(answer.begin() + pos);
return answer.empty() ? vector<int>(1, -1) : answer;
}