N = int(input()) a = 1 ans = 0 while a < N: a <<= 1 ans += 1 print(ans)