n = int(input()) a = 1 c = 0 while a < n: a *= 2 c += 1 print(c)