import math S = raw_input() A = math.log(S,2.0) print int(A)