import sys import math input = sys.stdin.readline n = int(input()) print(str(math.ceil(math.log(n, 2))), flush=True)