n = int(input()) i = 1 count = 0 while i < n: count += 1 i <<= 1 print(count)