n = int(input()) cnt = 0 i = 1 while i < n: i = i * 2 cnt += 1 print(cnt)