#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  while (~scanf("%d", &n)) {
    if (n == 1) {
      printf("1\n");
      continue;
    }
    int num = log2(n) + 1;
    printf("%d\n", num);
  }
  return 0;
}
