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