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