#include using namespace std; //#include //using namespace atcoder; #define rep(i,n) for (int i= 0; i < n; ++ i) #define REP(i,n) for (int i= 1; i <= n; ++ i) using ll = long long ; using P = pair; //using mint = modint998244353; using Graph=vector>; const int INF=1001001001; const int dx[4]={1,-1,0,0}; const int dy[4]={0,0,1,-1}; const long double EPS=1e-14; const ll MOD=998244353; int main() { ll n,ans=0,bit=1,m=0; cin>>n; while(1){ if(n<=bit) break; bit*=2; ++ans; } cout<