#include <stdio.h>
int main()
{
int year,days;
printf("input the year:");
scanf("%d",&year);
if(year%4==0)
{
if(year%100==0)
{
if(year%400==0)
days=29;
else
days=28;
}
else
days=29;
}
else
days=28;
printf("year:%d,month:2,days:%d",year,days);
return 0;
}