func_code_string: #include <bits/stdc++.h>   using namespace std;   const int maxn = 10000 + 10;   int a[maxn];   int main() {     int i, j, k, m, n;     cin >> n;     int sum = 0;     while (n > 0) {       if (n % 8 == 1) sum++;       n /= 8;     }     cout << sum << endl;     return 0;   }   