N = int(input()) have_cookie = 1 count = 0 while have_cookie < N: have_cookie = have_cookie << 1 count += 1 print(count)