#include <iostream>
#include <cmath>

int main() {
  int n;
  std::cin >> n;
  int a = 0;
  while (n > pow(2,a)) {
    a++;
  }
  std::cout << a << std::endl;
  return 0;
}