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