import math n = int(input()) x = math.log2(n) if isinstance(x, float): x = int(x) + 1 else: x = int(x) print(x)