N = int(input()) if N == 1: print(0) else: x = 1 while N > 2**x: x += 1 print(x)