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