#include <stdio.h>

int main() { int year;
scanf_s("%d", &year); if (year % 4 == 0 && year % 100 = !0) printf("1");
return 0;}뭐가 문제야 구글링해도 모르겟음