N=int(raw_input()) i=0 while N>2**i: i+=1 print i