import sys read = sys.stdin.buffer.read readline = sys.stdin.buffer.readline readlines = sys.stdin.buffer.readlines sys.setrecursionlimit(10 ** 7) n = int(read()) check = 1 for i in range(10 ** 5): if n <= check: print(i) exit() check *= 2