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