#[GSEP202303一级]每月天数
#老师教
#题解
#未做完
m=[31,28,31,30,31,30,31,31,30,31,30,31]
year,month=map(int,input().split())
if (year//4 ==0 or(year %100 != 0 and year %400 ==0)):
    print(m[month+1])
else:
    print(m[])

0 条评论

目前还没有评论...