N = int(input()) S = 0 i = 1 count=0 while i < N: i = i*2 count += 1 print(count)