#P137. 【例23.2】 这个月有几天

【例23.2】 这个月有几天

Description

Input a year and a month, output the number of days in that month.

Input Format

Two integers y (1600y30001600≤y≤3000) and m (1m121≤m≤12), representing the year and month respectively.

Output Format

An integer representing the number of days in the given month.

Sample

1900 2
28