import math n = int(input()) print(math.ceil(math.log(n,2)))