#include <stdio.h>

int main() {
	int x;
	scanf("%d",&x);
	if ( x%400==0 )
		printf(" うるう年である\n");
	else if ( x%100==0 )
		printf(" うるう年でない \n");
	else if (  x%4==0  )
		printf(" うるう年である \n");
 	else
		printf("	閏年でない\n");
	return 0;
}
