public static void main(String[] args) {
        // Get command-line parameters
        int m = Integer.parseInt(args[0]);
        int d = Integer.parseInt(args[1]);

        // Print values
        System.out.println("Month: " + m);
        System.out.println("Day: " + d);

        // Is month and day in spring?
        boolean isSpring;
        if ((m == 3 && d >= 20 && d <= 31)
            || (m == 4 && d <= 30)
            || (m == 5 && d <= 31)
            || (m == 6 && d <= 20)) {
            isSpring = true;
        }
        else {
            isSpring = false;
        }

        // Print results
        System.out.println("Month and day in spring?: " + isSpring);
    }