public static void main(String... args) {
        int biggestNum = 0;
        for (int i = 1000 - 1; i >= 100; i--) {
            for (int j = 1000 - 1; j >= 100; j--) {
                int target = (i * j);
                if (isPalindrome(target) && target > biggestNum) {
                    biggestNum = target;
                }
            }
        }
        System.out.println(biggestNum);
    }