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