题目描述
Problem Description
Given a year and a month, output the number of days in that month of that year. Consider leap years.
Input Format
Input consists of two positive integers, representing the year \( y \) and the month \( m \), separated by a space.
Output Format
Output a single positive integer, representing the number of days in that month.
Sample Input and Output
Input Sample #1
1926 8
Output Sample #1
31
Input Sample #2
2000 2
Output Sample #2
29
Notes
The data guarantees that \( 1583 \leq y \leq 2020 \) and \( 1 \leq m \leq 12 \).
输入格式
见题面 Input 部分
输出格式
见题面 Output 部分
样例输入
1926 8
样例输出
31