n = int(input()) now = 1 cnt = 0 while n > now: now *= 2 cnt += 1 print(cnt)