#include<stdio.h>
// 用于判断是否为闰年的函数
int fun_max(int x)
{
if(x % 4 == 0 && x % 100 != 0 || x % 400 == 0)
{
return 1; // 是闰年
}
return 0; // 不是闰年
}
// 主函数
int main()
{
int n = 0;
scanf("%d", &n);
if(fun_max(n) == 1)
{
printf("是闰年"); // 是闰年
}
else
{
printf("不是闰年"); // 不是闰年
}
return 0;
}