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