n = int(input()) count = 0 bis = 1 while bis < n: bis *= 2 count += 1 print(count)