#include<stdio.h> main() { int year; scanf("%d",&year); printf("please input the year:"); if(year%400==0||(year%4==0&&year%100!=0)) printf("Y\n"); else printf("N\n"); }