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