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