import numpy as np N=int(input()) print(int(np.ceil(np.log2(N))))