Problem1136--【例23.2】 这个月有几天

1136: 【例23.2】 这个月有几天

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 64 MB

Description

输入一个年份和一个月份,输出该月的天数。

Input

两个整数$y$($1600≤y≤3000$)和$m$ ($1≤m≤12$),分别表示年份和月份。

Output

一个整数,表示该月的天数。

Sample Input Copy

1900 2

Sample Output Copy

28