func_code_string: #include <bits/stdc++.h>   #pragma comment(linker,  /STACK:66777216 )   using namespace std;   const double eps = 1e-7;   const double pi = acos(-1.0);   const long long INF = (long long)2e9 + 1;   const long long LINF = (long long)8e18;   const long long inf = (long long)2e9 + 1;   const long long linf = (long long)8e18;   const long long MM = (long long)1e9 + 7;   int solve();   void gen();   int main() {     solve();     return 0;   }   const int dd = 3e5 + 7;   int get(int t) {     while (t < 0) t += 360;     while (t > 360) t -= 360;     return min(t, 360 - t);   }   int solve() {     long long x;     cin >> x;     x *= -1;     x %= 360;     vector<pair<int, int> > M;     M.push_back(make_pair(get(x), 0));     M.push_back(make_pair(get(x + 90), 1));     M.push_back(make_pair(get(x + 180), 2));     M.push_back(make_pair(get(x + 270), 3));     sort(M.begin(), M.end());     cout << M[0].second;     return 0;   }   