n = int(input()) i = 1 count = 0 while True: if i >= n: break i *= 2 count += 1 print(count)