public static void main(final String[] args) {
		List<Integer> abundantNumbers = new ArrayList<>();
		for (int i = 0; i < 28123; i++) {
			if (isAbundant(i)) {
				abundantNumbers.add(i);
			}
		}

		boolean[] isSumOfTwoAbundantNumbers = new boolean[MAX];
		Arrays.fill(isSumOfTwoAbundantNumbers, false);
		for (int k = 0; k < abundantNumbers.size(); k++) {
			for (int j = k; j < abundantNumbers.size(); j++) {
				int index = abundantNumbers.get(j) + abundantNumbers.get(k);
				if (index < 28123) {
					isSumOfTwoAbundantNumbers[index] = true;
				}
			}
		}

		long sum = 0;
		for (int i = 0; i < MAX; i++) {
			if (!isSumOfTwoAbundantNumbers[i]) {
				System.out.println(i);
				sum += i;
			}
		}

		System.out.println("Sum: " + sum);

	}