#include <iostream>
using namespace std;

int year;

int main()
{
    cin >> year;

    if(year%4==0 && (year%100 != 0 || year%400 == 0))
        cout << 1 << endl;
    else
        cout << 0 << endl;

    return 0;
}

카테고리:

업데이트:

댓글남기기