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