using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PrintMonth
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("请输入月份");
int month = int.Parse(Console.ReadLine());
switch (month) {
case 1: {
Console.WriteLine(30);
break;
}
case 2: {
Console.WriteLine("请输入年份");
int year = int.Parse(Console.ReadLine());
if ((year % 4 == 0 && year % 100 != 0) || year % 400 == 0)
{
Console.WriteLine(29);
}
else {
Console.WriteLi