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