#include using namespace std; #define REP(i, n) for (int i = 0; i < (int)(n); i++) #define FOR(i, a, b) for (int i = (a); i < (b); ++i) typedef long long ll; typedef pair P; const int INF = 100100100; const int MOD = (int)1e9 + 7; const double EPS = 1e-9; struct Edge { ll to; ll cost; }; int main() { ll N; cin >> N; ll ans = 0, num = 1; while (num < N) { num *= 2; ans++; } cout << ans << endl; }