#include<stdio.h>
int main(void)
{
int n;
scanf("%d", &n);
if ((n % 400 == 0) || ((n % 4 == 0) && (n % 100 != 0)))
{
printf("1");
}
else
{
printf("0");
}
return(0);
}
01-09
366
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountBlack.png)
03-21
3702
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountBlack.png)
11-29
4404
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountBlack.png)
07-30
07-30