#include <bits/stdc++.h>
using namespace std;
int main(int argc, char const *argv[]) {
  long long t, n;
  cin >> n;
  long long ans = 0;
  long long i = 1;
  while (i <= n) {
    ans++;
    i *= 2;
  }
  cout << ans << std::endl;
  return 0;
}
