n = int(input()) c = 0 while 1 < n: n /= 2 c += 1 print(c)