import java.util.*;


public class Solution {
    /**
     * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可
     *
     * 
     * @param numbers int整型一维数组 
     * @return bool布尔型
     */
    public boolean IsContinuous (int[] numbers) {
        // write code here
        Arrays.sort(numbers);
        for (int i = 1; i < numbers.length; i++){
            if (numbers[i-1] == numbers[i] && numbers[i] != 0){
                return false;
            }
        }


        int j = 0;
        while(numbers[j] == 0){
            j++;
        }
        if (numbers[numbers.length-1] - numbers[j] < 5){
            return true;
        }
        return false;
    }
}