N = int(input()) b = 1 i = 0 while b < N: i += 1 b = 2 ** i print(i)