RT
#include<bits/stdc++.h> using namespace std; #define int long long int n,ans; signed main(){ int cnt=1; cin>>n; for(int i=1;;i++){ if(cnt>=n){ break; } cnt=cnt*2; if(i%2==0){ ans=i; } } cout<<ans; }