#include <bits/stdc++.h>
using namespace std;
char itoa(int x) {
  char c = x;
  return c;
}
string itos(long long x) {
  string s;
  while (x) {
    s = (char)(x % 10 + 48) + s;
    x /= 10;
  }
  return s;
}
long long Ma(long long x, long long y) {
  if (x < y)
    return y;
  else
    return x;
}
long long Mi(long long x, long long y) {
  if (x > y)
    return y;
  else
    return x;
}
long long fact(long long x) {
  if (x == 0)
    return 1;
  else
    return x * fact(x - 1);
}
struct T {
  int x;
  int y;
  int z;
};
bool co(int a, int b) { return a > b; }
int inf = 1000000009;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  int n;
  cin >> n;
  int p, k, l = 0;
  p = 1;
  while (1) {
    if (p > n) break;
    p *= 2;
    l++;
  }
  cout << l;
}
