#include <stdio.h>
int main() {
int month;
char* day;
printf("Please input a month number: "); switch(month){
case 1:
day = "31";
break;
case 2:
day = "28/29";
break;
case 3:
day = "31";
break;
case 4:
day = "30";
break;
case 5:
day = "31";
break;
case 6:
day = "30";
break;
case 7:
day = "31";
break;
case 8:
day = "31";
break;
case 9:
day = "30";
break;
case 10:
day = "31";
break;
case 11:
day = "30";
break;
case 12:
day = "31";
break;
default:
}
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbigpIHsKICAgIGludCBtb250aDsKICAgIGNoYXIqIGRheTsKCXByaW50ZigiUGxlYXNlIGlucHV0IGEgbW9udGggbnVtYmVyOiAiKTsKICAgIHNjYW5mKCIlZCIsJm1vbnRoKTsKICAgIHN3aXRjaChtb250aCl7CiAgICBjYXNlIDE6CiAgICAgICAgZGF5ID0gIjMxIjsKICAgICAgICBicmVhazsKICAgIGNhc2UgMjoKICAgICAgICBkYXkgPSAiMjgvMjkiOwogICAgICAgIGJyZWFrOwogICAgY2FzZSAzOgogICAgICAgIGRheSA9ICIzMSI7CiAgICAgICAgYnJlYWs7CiAgICBjYXNlIDQ6CiAgICAgICAgZGF5ID0gIjMwIjsKICAgICAgICBicmVhazsKICAgIGNhc2UgNToKICAgICAgICBkYXkgPSAiMzEiOwogICAgICAgIGJyZWFrOwogICAgY2FzZSA2OgogICAgICAgIGRheSA9ICIzMCI7CiAgICAgICAgYnJlYWs7CiAgICBjYXNlIDc6CiAgICAgICAgZGF5ID0gIjMxIjsKICAgICAgICBicmVhazsKICAgIGNhc2UgODoKICAgICAgICBkYXkgPSAiMzEiOwogICAgICAgIGJyZWFrOwogICAgY2FzZSA5OgogICAgICAgIGRheSA9ICIzMCI7CiAgICAgICAgYnJlYWs7CiAgICBjYXNlIDEwOgogICAgICAgIGRheSA9ICIzMSI7CiAgICAgICAgYnJlYWs7CiAgICBjYXNlIDExOgogICAgICAgIGRheSA9ICIzMCI7CiAgICAgICAgYnJlYWs7CiAgICBjYXNlIDEyOgogICAgICAgIGRheSA9ICIzMSI7CiAgICAgICAgYnJlYWs7CiAgICBkZWZhdWx0OgogICAgICAgIHByaW50ZigiSW52YWxpZCBpbnB1dCIpOwogICAgfQogICAgcHJpbnRmKGRheSk7CglyZXR1cm4gMDsKfQo=