import sys import math input = sys.stdin.buffer.readline N = int(input()) print(math.ceil((math.log2(N))))