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