print(math.ceil(math.log(io.read()-0,2)))