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