#include #include using namespace std; int main() { int n; cin>>n; int x=0; while(pow(2,x)<=n){ x++; } cout<