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