def some(): n = int(input()) count = 0 x = 1 while x < n: x = 2*x count += 1 print(count) some()