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