func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     int n, ans = 0;     cin >> n;     ans = (n * (n + 1)) / 2;     if (ans & 1)       cout <<  1  << endl;     else       cout <<  0  << endl;     return 0;   }   