#include <iostream>

int main()
{
   int n = 0, a;
   std::cin >> a;
   for (; a; a = a >> 1)
        n++;
   std::cout << n;
   return 0;
}