N, c = int(input()), 0 while N != 1: N -= N // 2 c += 1 print(c)