N = int(input()) x = 1 c = 0 while x < N: x *= 2 c += 1 print(c)