public static void main(String[] args) {
        long sum = 0;
        
        outer: for (int i = 1; i <= 100_000_000; i++) {
            if (!isPrime(i))
                continue;
            
            int n = i - 1;
            int end = (int) Math.ceil(Math.sqrt(n + 1));
            
            for (int j = 2; j < end; j++)
                if (n % j == 0 && !isPrime(j + n / j))
                    continue outer;
            
            sum += n;
            System.out.println("> " + n);
        }
        
        System.out.println(">>> " + sum);
    }