N = int(input()) cnt = 0 I=1 while(True): if(N <= I): break I *= 2 cnt+=1 print(cnt)