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