#include #include using namespace std; int main(){ int N; int ans=0; cin>>N; for(int i=0;;i++){ if(pow(2.0,i)>=N){ cout<