#include <iostream>
#include<fstream>
using namespace std;
int n,p,nq;
int main()
{ifstream f("input");
ofstream g("output");
f>>n;
nq=0;p=1;
while(n!=0)
{nq++;
n=n/2;
p=p*10;}
g<<nq;
return 1;}