#include <bits/stdc++.h>
using namespace std;
int64_t mod = 1e9 + 7, inf = 4e18;
int64_t sum = 0;
int64_t tmp3 = 0, tmp = 0, tmp2 = 0, comb = 1;
vector<int64_t> check, st;
int64_t maxi = 0, mini = inf;
string s2, s;
vector<vector<int64_t> > g;
bool high = 0;
int32_t main() {
  ios::sync_with_stdio(false), cin.tie(nullptr);
  int64_t n;
  int64_t first = 0;
  cin >> n;
  for (int64_t i = n; i > 0; i /= 2, first++)
    ;
  cout << first;
  return 0;
}
