n = int(input()) total = 1 cnt = 0 while total < n: total *= 2 cnt += 1 print(cnt)