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