N = input() c = 1 count = 0 while c < N: c *= 2 count += 1 print count