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