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