func_code_string: #include <bits/stdc++.h>   using namespace std;   const int N = 1e5;   int n;   long long x, m, ans;   long long f() {     long long a, b, q;     q = (x - 1) % 4;     a = q == 0 ? x - 1 : q == 1 ? 1 : q == 2 ? x : 0;     q = (x + m - 1) % 4;     b = q == 0 ? x + m - 1 : q == 1 ? 1 : q == 2 ? x + m : 0;     return a ^ b;   }   int main() {     scanf( %d , &n);     for (int i = 0; i < n; ++i) {       scanf( %lld %lld , &x, &m);       ans ^= f();     }     if (ans)       puts( tolik );     else       puts( bolik );     return 0;   }   