import sys sys.setrecursionlimit(10 ** 6) def main(): n = int(input()) s = 1 cnt = 0 while s < n: cnt += 1 s <<= 1 print(cnt) main()