import math S = input() A = float(S) B = math.log(A,2.0) print int(B)