func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     int n;     cin >> n;     int ans = 2;     for (int i = 1; i <= n; i++) {       int tmp;       cin >> tmp;       if (tmp % 2 == 0) {         ans = 3 - ans;       }       cout << ans << endl;     }     return 0;   }   