import math print math.ceil(math.log(input(),2))