n = int(input()) if n == 1: print(0) exit() i = 1 while True: if n <= 2 ** i: print(i) break i += 1