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