import math num = int(input()) print(int(math.log2(num))+1 if num>1 else 0)