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