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