from math import log,ceil N=int(input()) print(ceil(log(N,2)))