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