#include <bits/stdc++.h>
using namespace std;
template <typename T>
class MinPq : public priority_queue<T, vector<T>, greater<T> > {};
template <typename T>
class MaxPq : public priority_queue<T, vector<T>, less<T> > {};
int main() {
  long long int n;
  int i = 0;
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cin >> n;
  for (; n > 0; i++) n >>= 1;
  cout << i << endl;
  return 0;
}
