#include using namespace std; int main() { ios_base::sync_with_stdio(false); cin.tie(nullptr); long long N; cin >> N; int one = 0; for(int i=0; i<60; i++) if(N&(1LL<