#include <bits/stdc++.h>
using namespace std;
long long count(long long n) {
  if (n == 1) return 1;
  if (n == 0) return 0;
  return 1 + count(n / 2);
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  long long n, i, j, c = 0;
  cin >> n;
  cout << count(n);
  return 0;
}
