import math n = int(input()) m = math.ceil(math.log2(n)) print (m)