#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <stdlib.h>
void judge(int i) {
if (i % 4 == 0 && i % 100 != 0 || i % 400 == 0) {
printf("该年是闰年\n");
}
else {
printf("该年不是闰年!\n");
}
}
int main() {
int n;
scanf("%d", &n);
judge(n);
system("pause");
return 0;
}