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