i = 1 count = 0 N = int(input()) while N > i: i *= 2 count += 1 print(count)