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