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