12402 - 求月份的天数

输入年和月份,求该月有多少天。

Input

y m(y表示年,m表示月)

Output

该月有多少天

Examples

Input

2000 1

Output

31

Hint

可以使用switch...case..语句

Time Limit 1 second
Memory Limit 128 MB
Discuss 题解 Stats
上一题 下一题