class Solution {
public int solution(int[] numbers) {
int answer = -1;
int[] num = new int[10];
for(int x : numbers){
num[x] = 1;
}
int result =0;
for(int i =0; i<num.length; i++){
if(num[i] == 0){
result += i;
}
}
answer = result;
return answer;
}
}