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