# 2016.2.13 import math N = input() tap = int(math.ceil(math.log(N, 2))) print tap