def solution(arr): answer=[] x=min(arr) for a in arr: if a!=x: answer.append(a) if answer==[]: answer.append(-1) return answer