#include<iostream>
using namespace std;
int main()
{
	int year;   //定义一个整形变量，用以存储年份
	cout<<"Please input a number of year:"<<endl;   //输出提示语
	cin>>year;
	//条件判断
	if ((year%400==0) || (year%100!=0) && (year%4==0))
		cout<<year<<" "<<"is a leap year"<<endl;
	else
		cout<<year<<" "<<"is not a leap year"<<endl;
	return 0;
}