#include "stdio.h"
void main()
{
int day,y;
scanf("%d%d",&y,&day);
if(y%4==0&&y%100!=0||y%400==0)
{
if(day<=31) printf("1月%d号",day);
if(day<=60&&day>31) printf("2月%d号",day-31);
if(day<=91&&day>31) printf("3月%d号",day-91);
if(day<=121&&day>31) printf("4月%d号",day-121);
if(day<=152&&day>31) printf("5月%d号",day-152);
if(day<=182&&day>31) printf("6月%d号",day-182);
if(day<=213&&day>31) printf("7月%d号",day-213);
if(day<=244&&day>31) printf("8月%d号",day-244);
if(day<=274&&day>31) printf("9月%d号",day-274);
if(day<=305&&day>31) printf("10月%d号",day-305);
if(day<=335&&day>31) printf("11月%d号",day-366);
if(day<=361) printf("12%d号",day-355);
}
}
慕粉3750726
相关分类