#include #include #include #define REP(i, n) for(int i = 0; i < (int)(n); i++) #define print(x) cout << x << endl; using namespace std; const int MOD = (int)1e9 + 7; int main(void){ cin.tie(0); ios::sync_with_stdio(false); int N; cin >> N; int ans = 0; int n = 1; REP(i, n){ n *= 2; ans += 1; if(n >= N){break;} } print(ans); return 0; }