Days in month. Given a month – an integer from 1 (January) to 12 (December), print the number of days in it in the year 2017 (or any other non-leap year).
Input |
Output |
1 |
31 |
2 |
28 |
3 |
31 |
4 |
30 |
5 |
31 |