#include using namespace std; int getBigger(int n){ int leftmost=0,rightmost=0,zero=0; int zeropos=-1; while(n>=(1< rightmost){ n|=(1<> n; for(int i=0;i> x; cout << getBigger(x) << '\n'; } return 0; }