import math N = int(input()) n = math.ceil(math.log2(N)) if N%2==0: print(n) else: print(n+1)