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