import math a=int(input()) print(round(math.log2(a)+0.5))