#include <fstream>
using namespace std;

int main()
{ ifstream f("input.in");
  ofstream g("output.out");
  long n;
  int count=0;
  f>>n;

  while(n!=0)
  {n = n/2;
   count ++;
  }

  g<<count;

  f.close();
  g.close();




return 0;

}