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