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