#include <bits/stdc++.h>
using namespace std;
int main() {
  signed int n, a, c = 0;
  cin >> n;
  a = n;
  while (a > 0) {
    if (a == 1) {
      c++;
      a = 0;
    } else {
      a = floor(a / 2);
      c++;
    }
  }
  cout << c;
  return 0;
}
