#include int main(void){ int n,i,c; scanf("%d",&n); i=1; c=0; for(;;){ if(i>=n){ break; }else{ i*=2; c++; } } printf("%d\n",c); return 0; }