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