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