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