#include <bits/stdc++.h>
using namespace std;
void doRoutine() {
  ios_base::sync_with_stdio(false);
  cin.tie(nullptr);
  cout.tie(nullptr);
  srand(322179);
}
signed main() {
  doRoutine();
  long long n;
  cin >> n;
  long long res = 0;
  while (n > 0) {
    ++res;
    n /= 2;
  }
  cout << res << endl;
  return 0;
}
