n = int(input()) c, ans = 1, 0 while True: if c >= n: break c *= 2 ans += 1 print(ans)