import math n = int(input()) n2 = int(math.log2(n)) if n == 2**n2: print(n2) else: print(n2+1)