#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int cnt = 0;
  while (1) {
    int x = pow(2, cnt);
    if (x > n) {
      break;
    }
    cnt++;
  }
  cout << cnt << endl;
}
