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