n = int(input()) s = 1 ans = 0 while s < n: s *= 2 ans += 1 print(ans)