N = int(raw_input()) k = 1 count = 0 while k < N: k *= 2 count += 1 print count