import math num=input() print int(math.ceil(math.log(num,2)))