func_code_string: #include <bits/stdc++.h>   using namespace std;   const int MAX_N = 100 + 10;   int a[MAX_N];   int main() {     int n, count = 0, f = 0, h = 0, b;     cin >> n;     for (int i = 0; i < n; i++) {       cin >> b;       if (b < 0) count++;       if (count == 3) {         f++;         a[f] = i - h;         h += a[f];         count = 1;       }       if (count < 3 && i == n - 1) {         f++;         a[f] = i + 1 - h;         h += a[f];       }     }     cout << f << endl;     for (int i = 1; i <= f; i++) cout << a[i] <<    ;     return 0;   }   