$N=<>;$c=0;$x=1;while($x<$N){$x*=2;$c++}print $c,"\n"