#include #define int long long using namespace std; signed main(){ int N; cin>>N; for(int i=0;i<=30;i++){ if((N>>i)&1){ if(N==(1<