import math print(math.ceil(math.log2(int(input()))))