N = int(input()) #叩く回数をk、枚数をtとする。 k = 0 t = 1 while (t <= N ) : k += 1 t *= 2 print(k)