//Numarul de biti dintr-un numar #include using namespace std; int N; int count(int n) { int num = 0; if (n) do num++; while (n &= n - 1); return num; } int main() { cin>>N; cout<