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