private static Long getMaxRowProduct(int numbers) {
        int max = Integer.MIN_VALUE;
        for (int[] row : DATA) {
            for (int c = 0; c + numbers < row.length; c++) {
                int sum = 1;
                for (int offset = 0; offset < numbers; offset++) {
                    sum *= row[c + offset];
                }
                max = Math.max(max, sum);
            }
        }
        return (long) max;
    }