n = int(input()) c = 1 if n == 1: print(0) exit() for i in range(100): if n > c * 2: c *= 2 else: print(i + 1) exit()