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