#include using namespace std;

int main() { int n; cin >> n; if (n%4000) cout << "1"; else if (n%40 && n%100!=0) cout << "1"; else cout << "0"; return 0; }

0 comments

No comments so far...