using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace leapyear
{
class Program
{
static void Main(string[] args)
{
Console.Write("请输入一个年份:");
string str = Console.ReadLine();
int year = Int32.Parse(str);
bool isleapyear = ((year%4==0)&&(year%100!=0)||(year%400==0));
string yesno= isleapyear?"是":"不是";
Console.WriteLine("{0}年{1}闰年",year,yesno);
}
}
}