import java.util.*;
public class Solution {
public boolean IsContinuous(int [] numbers) {
Set<Integer> repeat = new HashSet<Integer>();
int max = 0 , min = 14;
for (int num: numbers){
if (num == 0 ) continue;;
max = Math.max(max,num);
min = Math.min(min,num);
// 若有重复 则提前返回FALSE
if (repeat.contains(num)) return false;
repeat.add(num);
}
return max - min < 5;
}
}