static const char *months[] = {, , , , ,
    , , , , , , };
static int long_months[] = {0, 2, 4, 6, 7, 9, 11};

int main() {
    int n = 0, y, i, m;
    struct tm t = {0};
    printf();
    for (y = 1900; y <= 2100; y++) {
        for (i = 0; i < 7; i++) {
            m = long_months[i];
            t.tm_year = y-1900;
	    t.tm_mon = m;
	    t.tm_mday = 1;
            if (mktime(&t) == -1) { 
                printf(, y, months[m]);
                continue;
            }
            if (t.tm_wday == 5) { 
                printf(, y, months[m]);
                n++;
            }
        }
    }
    printf(, n);
    return 0;
}