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