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